diff --git a/terragrunt/components/terragrunt.hcl b/terragrunt/components/terragrunt.hcl index 5138271da..0c4cc2dfa 100644 --- a/terragrunt/components/terragrunt.hcl +++ b/terragrunt/components/terragrunt.hcl @@ -94,7 +94,7 @@ locals { account_id = 471112843276 canary_schedule_expression = "rate(15 minutes)" name = "production" - pinned_service_version = "0.6.0" + pinned_service_version = "0.6.2" postgres_instance_type = "db.t4g.micro" private_subnets = [ "10.${local.cidr_b_production}.101.0/24", diff --git a/terragrunt/modules/ecs/main.tf b/terragrunt/modules/ecs/main.tf index f642c89e8..360fc623d 100644 --- a/terragrunt/modules/ecs/main.tf +++ b/terragrunt/modules/ecs/main.tf @@ -13,5 +13,14 @@ resource "aws_ecs_cluster" "this" { } } + dynamic "setting" { + for_each = var.is_production ? [0] : [] + content { + name = "containerInsights" + value = "enabled" + } + } + + tags = var.tags }