Skip to content

Commit a57b32e

Browse files
authored
enables container insights (#49)
1 parent a9051f6 commit a57b32e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

env/dev/ecs.tf

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ variable "ecs_autoscale_max_instances" {
3838

3939
resource "aws_ecs_cluster" "app" {
4040
name = "${var.app}-${var.environment}"
41+
42+
setting {
43+
name = "containerInsights"
44+
value = "enabled"
45+
}
46+
4147
tags = "${var.tags}"
4248
}
4349

env/dev/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ terraform {
1313
variable "aws_profile" {}
1414

1515
provider "aws" {
16-
version = ">= 1.53.0"
16+
version = ">= 2.27.0"
1717
region = "${var.region}"
1818
profile = "${var.aws_profile}"
1919
}

0 commit comments

Comments
 (0)