Skip to content

Commit 015a490

Browse files
committed
fix(examples/complete): invalid arn value for target_group_arn
1 parent f198753 commit 015a490

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/complete/main.tf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ module "ecs_deployment" {
7373

7474
load_balancer = [
7575
{
76-
target_group_arn = "my-target-group"
77-
container_name = "nginx"
78-
container_port = 80
76+
target_group = "my-target-group"
77+
container_name = "nginx"
78+
container_port = 80
7979
}
8080
]
8181
}
@@ -129,7 +129,9 @@ module "ecs_deployment" {
129129
EOT
130130
}
131131

132-
iam_role_ec2_container_service_role_arn = "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"
132+
iam_role_policy_attachments = [
133+
"arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"
134+
]
133135
}
134136

135137
# Capacity Provider

0 commit comments

Comments
 (0)