Skip to content

Commit

Permalink
Moved for task
Browse files Browse the repository at this point in the history
  • Loading branch information
devsjc committed Nov 9, 2023
1 parent 59fa207 commit 86a2871
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/modules/services/nwp_consumer/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ resource "aws_iam_role" "create_task_role" {
assume_role_policy = data.aws_iam_policy_document.ecs_assume_role_policy.json
}

moved {
from = "consumer-${var.app_name}-iam-role"
to = aws_iam_role.create_task_role
}

resource "aws_iam_role_policy_attachment" "create_task_policy" {
role = aws_iam_role.create_task_role.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"
Expand Down

0 comments on commit 86a2871

Please sign in to comment.