Skip to content

Commit

Permalink
ACC-770 msk/account_identity: add di-kafka-source config for verifica…
Browse files Browse the repository at this point in the history
…tion events (#693)
  • Loading branch information
Jarota authored Nov 11, 2024
1 parent 00fddf3 commit b4c8ee2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dev-aws/kafka-shared-msk/account-identity/verification.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ module "account_identity_verification_indexer" {
cert_common_name = "auth-customer/ai-verification-events-v1-indexer"
}

module "account_identity_di_kafka_source_verification" {
source = "../../../modules/tls-app"
consume_topics = [(kafka_topic.account_identity_verification.name)]
consume_groups = ["account-identity.di-kafka-source-verification"]
cert_common_name = "auth-customer/di-verification"
}

resource "kafka_topic" "account_identity_verification" {
config = {
"cleanup.policy" = "delete"
Expand Down
7 changes: 7 additions & 0 deletions prod-aws/kafka-shared-msk/account-identity/verification.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ module "account_identity_verification_indexer" {
cert_common_name = "auth-customer/ai-verification-events-v1-indexer"
}

module "account_identity_di_kafka_source_verification" {
source = "../../../modules/tls-app"
consume_topics = [(kafka_topic.account_identity_verification.name)]
consume_groups = ["account-identity.di-kafka-source-verification"]
cert_common_name = "auth-customer/di-verification"
}

resource "kafka_topic" "account_identity_verification" {
config = {
"cleanup.policy" = "delete"
Expand Down

0 comments on commit b4c8ee2

Please sign in to comment.