Skip to content

Commit

Permalink
Use different collector names for fargate/non-fargate cases
Browse files Browse the repository at this point in the history
  • Loading branch information
thpierce authored Jul 10, 2024
1 parent 9e056d4 commit 062119e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/eks/otlp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ data "template_file" "adot_collector_config_file" {
template = file("./adot-operator/adot_collector_deployment.tpl")

vars = {
AOC_NAME = var.deployment_type == "fargate" ? "aoc-fargate" : "aoc"
AOC_NAMESPACE = var.deployment_type == "fargate" ? kubernetes_namespace.aoc_fargate_ns.metadata[0].name : kubernetes_namespace.aoc_ns.metadata[0].name
AOC_IMAGE = module.common.aoc_image
AOC_DEPLOY_MODE = var.aoc_deploy_mode
Expand Down

0 comments on commit 062119e

Please sign in to comment.