Skip to content

Commit

Permalink
remove brackets from output values (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
dosullivan authored and Micah Huber committed Nov 19, 2019
1 parent 867245d commit d2c847a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion eip.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ resource "aws_eip" "mod_nat" {
}

output "aws_eip_nat_ips" {
value = [aws_eip.mod_nat.*.public_ip]
value = aws_eip.mod_nat.*.public_ip
}

2 changes: 1 addition & 1 deletion nat-gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ output "aws_nat_gateway_count" {
}

output "aws_nat_gateway_ids" {
value = [aws_nat_gateway.nat_gateway.*.id]
value = aws_nat_gateway.nat_gateway.*.id
}

4 changes: 2 additions & 2 deletions route-table.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ resource "aws_route_table" "public" {
}

output "aws_route_table_public_ids" {
value = [aws_route_table.public.id]
value = aws_route_table.public.id
}

resource "aws_route" "public_internet_gateway" {
Expand All @@ -48,7 +48,7 @@ resource "aws_route_table" "private" {
}

output "aws_route_table_private_ids" {
value = [aws_route_table.private.*.id]
value = aws_route_table.private.*.id
}

resource "aws_route" "private_nat_gateway" {
Expand Down
8 changes: 4 additions & 4 deletions subnets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "aws_subnet" "admin" {
}

output "aws_subnet_admin_ids" {
value = [aws_subnet.admin.*.id]
value = aws_subnet.admin.*.id
}

resource "aws_route_table_association" "private_admin" {
Expand All @@ -55,7 +55,7 @@ resource "aws_subnet" "public" {
}

output "aws_subnet_public_ids" {
value = [aws_subnet.public.*.id]
value = aws_subnet.public.*.id
}

resource "aws_route_table_association" "public_public" {
Expand All @@ -79,7 +79,7 @@ resource "aws_subnet" "private_prod" {
}

output "aws_subnet_private_prod_ids" {
value = [aws_subnet.private_prod.*.id]
value = aws_subnet.private_prod.*.id
}

resource "aws_route_table_association" "private_private_prod" {
Expand All @@ -103,7 +103,7 @@ resource "aws_subnet" "private_working" {
}

output "aws_subnet_private_working_ids" {
value = [aws_subnet.private_working.*.id]
value = aws_subnet.private_working.*.id
}

resource "aws_route_table_association" "private_private_working" {
Expand Down

0 comments on commit d2c847a

Please sign in to comment.