Skip to content

Commit ed7bc56

Browse files
committed
Seems like I don't need ecs_task_role_ssm_policy
1 parent 7b08f58 commit ed7bc56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

terraform/modules/iam/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ resource "aws_iam_role_policy_attachment" "ecs_task_role_policy" {
5353
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"
5454
}
5555

56-
resource "aws_iam_role_policy_attachment" "ecs_task_role_ssm_policy" {
57-
role = aws_iam_role.ecs_task_role.name
58-
policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
59-
}
56+
# resource "aws_iam_role_policy_attachment" "ecs_task_role_ssm_policy" {
57+
# role = aws_iam_role.ecs_task_role.name
58+
# policy_arn = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
59+
# }
6060

6161
resource "aws_iam_role" "lambda_exec" {
6262
name = "${var.environment}-interview-prep-lambda-exec"

0 commit comments

Comments
 (0)