diff --git a/terraform-incubator/home-unite-us/dev/ecs.tf b/terraform-incubator/home-unite-us/dev/ecs.tf index f12e3f1..367dad4 100644 --- a/terraform-incubator/home-unite-us/dev/ecs.tf +++ b/terraform-incubator/home-unite-us/dev/ecs.tf @@ -42,7 +42,7 @@ resource "aws_ecs_task_definition" "homeuniteus" { }] essential = true # image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241017.1" - image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241023.2" + image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241023.3" logConfiguration = { logDriver = "awslogs" options = { diff --git a/terraform-incubator/home-unite-us/dev/iam.tf b/terraform-incubator/home-unite-us/dev/iam.tf index 40156ab..b9498f0 100644 --- a/terraform-incubator/home-unite-us/dev/iam.tf +++ b/terraform-incubator/home-unite-us/dev/iam.tf @@ -147,6 +147,15 @@ resource "aws_iam_policy" "homeuniteus_manage_ecr" { Resource = [ "arn:aws:ecs:us-west-2:035866691871:task-definition/homeuniteus:*" ] + }, + { + Effect = "Allow", + Action = [ + "iam:PassRole" + ], + Resource = [ + "arn:aws:iam::035866691871:role/incubator-prod-ecs-task-role" + ] } # //arn:aws:cloudshell:us-west-2:035866691871:environment/642f2b30-d2dd-4fc6-95ad-3e32b4163d23