diff --git a/terraform-incubator/home-unite-us/dev/main.tf b/terraform-incubator/home-unite-us/dev/main.tf index 243daef..a4203b9 100644 --- a/terraform-incubator/home-unite-us/dev/main.tf +++ b/terraform-incubator/home-unite-us/dev/main.tf @@ -294,7 +294,15 @@ resource "aws_iam_policy" "homeuniteus_manage_ecr" { "ecr:CompleteLayerUpload", "ecr:PutImage" ], - Resource = aws_ecr_repository.this.arn + Resource = aws_ecr_repository.this.arn + }, + { + Sid = "ShellEcsContainer", + Effect = "Allow", + Action = [ + "ecs:ExecuteCommand", + ], + Resource = "arn:aws:ecs:us-west-2:035866691871:cluster/incubator-prod" } ] })