Skip to content

Commit

Permalink
enables container insights (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jritsema authored Jan 17, 2020
1 parent a9051f6 commit a57b32e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions env/dev/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ variable "ecs_autoscale_max_instances" {

resource "aws_ecs_cluster" "app" {
name = "${var.app}-${var.environment}"

setting {
name = "containerInsights"
value = "enabled"
}

tags = "${var.tags}"
}

Expand Down
2 changes: 1 addition & 1 deletion env/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
variable "aws_profile" {}

provider "aws" {
version = ">= 1.53.0"
version = ">= 2.27.0"
region = "${var.region}"
profile = "${var.aws_profile}"
}
Expand Down

0 comments on commit a57b32e

Please sign in to comment.