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 e8a170b commit 439a728Copy full SHA for 439a728
ecs.tf
@@ -40,7 +40,7 @@ resource "aws_ecs_service" "service" {
40
desired_count = 1
41
42
network_configuration {
43
- subnets = [for s in data.aws_subnet.subnets : s.id]
+ subnets = data.aws_subnet.subnets.*.id
44
assign_public_ip = true
45
}
46
lb.tf
@@ -2,7 +2,7 @@ resource "aws_lb" "alb" {
2
name = local.lb["name"]
3
internal = local.lb["internal"]
4
load_balancer_type = "application"
5
6
7
8
resource "aws_lb_target_group" "group" {
0 commit comments