Skip to content

Commit

Permalink
Extend pqs permissions (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslawgabara authored Nov 18, 2024
1 parent 4e2db43 commit bdd87a3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions prod-aws/kafka-shared-msk/payment-platform/payment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,17 @@ resource "kafka_topic" "payment_method_deadletter_v1_events" {
}

module "payment_query_service" {
source = "../../../modules/tls-app"
produce_topics = [kafka_topic.payment_deadletter_v1_events.name, kafka_topic.payment_v1_events.name, kafka_topic.payment_method_deadletter_v1_events.name]
source = "../../../modules/tls-app"
produce_topics = [
kafka_topic.payment_deadletter_v1_events.name,
kafka_topic.payment_v1_events.name,
kafka_topic.payment_method_deadletter_v1_events.name,
kafka_topic.payment_v1_public_events_pp_test.name,
kafka_topic.payment_v1_public_events.name,
kafka_topic.payment_method_v1_public_events.name,
# integration topics have to go there
kafka_topic.payment_v1_public_events_cbc_topup_v3.name
]
consume_topics = [kafka_topic.payment_v1_events.name, kafka_topic.payment_method_v1_events.name]
consume_groups = ["payment-platform.payment_query_service"]
cert_common_name = "payment-platform/payment-query-service"
Expand Down

0 comments on commit bdd87a3

Please sign in to comment.