Skip to content

Commit

Permalink
pin and trivialize otel
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel committed Oct 8, 2024
1 parent b696f94 commit dd34acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/ecs/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ locals {
task_cpu = module.this.stage == "prod" ? var.task_cpu : 256
task_memory = module.this.stage == "prod" ? var.task_memory : 512

otel_image_tag = "v0.3.0"
otel_port = var.port + 1
otel_cpu = 256
otel_memory = 256
Expand Down Expand Up @@ -114,8 +115,7 @@ resource "aws_ecs_task_definition" "app_task" {

{
name = "aws-otel-collector",
image_tag = "v0.3.0"
image = "public.ecr.aws/aws-observability/aws-otel-collector:${image_tag}",
image = "public.ecr.aws/aws-observability/aws-otel-collector:${local.otel_image_tag}",
cpu = local.otel_cpu,
memory = local.otel_memory,
essential = false,
Expand Down

0 comments on commit dd34acf

Please sign in to comment.