We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2446f8d commit 3fe4008Copy full SHA for 3fe4008
tofu/modules/fargate_service/iam.tf
@@ -33,11 +33,8 @@ resource "aws_iam_role" "execution" {
33
34
resource "aws_iam_role_policy_attachments_exclusive" "execution" {
35
role_name = aws_iam_role.execution.name
36
- # TODO: Create our own policy instead of using the managed ones.
37
policy_arns = concat([
38
- # aws_iam_policy.execution.arn
39
- "arn:${data.aws_partition.current.partition}:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy",
40
- "arn:${data.aws_partition.current.partition}:iam::aws:policy/CloudWatchAgentServerPolicy"
+ aws_iam_policy.execution.arn
41
], var.execution_policies)
42
}
43
0 commit comments