Skip to content

Commit

Permalink
tls-app fix: migrate dev msk pubsub
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuliarca committed Mar 1, 2024
1 parent 60bb17a commit 7aa74ff
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions dev-aws/kafka-shared-msk/pubsub/pubsub-examples.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,34 @@ resource "kafka_topic" "pubsub_examples" {
module "example_producer" {
source = "../../../modules/tls-app-v2"
produce_topics = [kafka_topic.pubsub_examples.name]
cert_common_name = "dev-enablement/example-producer"
cert_common_name = "pubsub/example-producer"
}

module "example_process_individually_consumer" {
source = "../../../modules/tls-app-v2"
consume_topics = [(kafka_topic.pubsub_examples.name)]
consume_groups = ["dev-enablement.example-consume-process-individually"]
cert_common_name = "dev-enablement/example-consume-process-individually"
consume_groups = ["pubsub.example-consume-process-individually"]
cert_common_name = "pubsub/example-consume-process-individually"
}

module "example_process_batch_consumer" {
source = "../../../modules/tls-app-v2"
consume_topics = [(kafka_topic.pubsub_examples.name)]
consume_groups = ["dev-enablement.example-consume-process-batch"]
cert_common_name = "dev-enablement/example-consume-process-batch"
consume_groups = ["pubsub.example-consume-process-batch"]
cert_common_name = "pubsub/example-consume-process-batch"
}

moved {
from = module.example_process_individually_consumer.kafka_acl.group_acl["dev-enablement.pubsub-examples"]
to = module.example_process_individually_consumer.kafka_acl.group_acl["dev-enablement.example-consume-process-individually"]
from = module.example_process_individually_consumer.kafka_acl.group_acl["pubsub.examples"]
to = module.example_process_individually_consumer.kafka_acl.group_acl["pubsub.example-consume-process-individually"]
}

moved {
from = module.example_process_batch_consumer.kafka_acl.group_acl["dev-enablement.pubsub-examples"]
to = module.example_process_batch_consumer.kafka_acl.group_acl["dev-enablement.example-consume-process-batch"]
from = module.example_process_batch_consumer.kafka_acl.group_acl["pubsub.examples"]
to = module.example_process_batch_consumer.kafka_acl.group_acl["pubsub.example-consume-process-batch"]
}

moved {
from = module.es_topic_indexer.kafka_acl.group_acl["dev-enablement.pubsub-examples"]
to = module.es_topic_indexer.kafka_acl.group_acl["dev-enablement.es-topic-indexer"]
from = module.es_topic_indexer.kafka_acl.group_acl["pubsub.pubsub-examples"]
to = module.es_topic_indexer.kafka_acl.group_acl["pubsub.es-topic-indexer"]
}

0 comments on commit 7aa74ff

Please sign in to comment.