Skip to content

Commit

Permalink
kafka-shared prod: moved otel to dedicated TF module
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuliarca committed Feb 16, 2024
1 parent 4434d1d commit c9a944b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions prod-aws/kafka-shared/otel/__env.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ resource "kafka_topic" "otlp_spans" {
}

module "otel_collector" {
source = "../../modules/tls-app"
source = "../../../modules/tls-app"
produce_topics = [kafka_topic.otlp_spans.name]
cert_common_name = "otel/collector"
}

module "tempo_distributor" {
source = "../../modules/tls-app"
source = "../../../modules/tls-app"
consume_topics = { (kafka_topic.otlp_spans.name) : "processor-tempo" }
cert_common_name = "otel/tempo-distributor"
}

0 comments on commit c9a944b

Please sign in to comment.