Skip to content

Commit

Permalink
kafka-shared prod: moved customer-billing to dedicated TF module (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuliarca authored Feb 16, 2024
1 parent ef4e50a commit 7910307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions prod-aws/kafka-shared/customer-billing/__env.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ resource "kafka_topic" "invoice_fulfillment_deadletter" {
}

module "invoice_fulfillment" {
source = "../../modules/tls-app"
source = "../../../modules/tls-app"
cert_common_name = "customer-billing/invoice-fulfillment"
produce_topics = [kafka_topic.invoice_fulfillment.name, kafka_topic.invoice_fulfillment_deadletter.name]
}

module "bills_total_api" {
source = "../../modules/tls-app"
source = "../../../modules/tls-app"
cert_common_name = "customer-billing/bills-total-api"
consume_topics = { (kafka_topic.invoice_fulfillment.name) : "bex.bills-total-api-reader" }
}

module "billing_fulfilment_public_events_translator" {
source = "../../modules/tls-app"
source = "../../../modules/tls-app"
cert_common_name = "customer-billing/billing-fulfilment-public-events-translator"
consume_topics = { (kafka_topic.invoice_fulfillment.name) : "bex.billing-fulfilment-public-events-translator" }
}
Expand Down

0 comments on commit 7910307

Please sign in to comment.