-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds extra tags per subnet option to terraform module (#21)
* adds extra tags per subnet option to terraform module * fixes tagging format * fixes variable names * adds documentation * formats
- Loading branch information
Luca Venturelli
authored
Mar 21, 2019
1 parent
66afc50
commit 05bbf15
Showing
10 changed files
with
178 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
output "ids" { | ||
value = ["${aws_nat_gateway.gateway.*.id}"] | ||
} | ||
|
||
output "ips" { | ||
value = ["${aws_eip.nat_gateway.*.public_ip}"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,44 @@ | ||
output "vpc_id" { | ||
value = "${aws_vpc.main.id}" | ||
description = "The id of the vpc created" | ||
value = "${aws_vpc.main.id}" | ||
} | ||
|
||
output "public_nat-bastion" { | ||
value = "${module.public_nat-bastion_subnets.ids}" | ||
description = "List of the public_nat-bastion subnets id created" | ||
value = "${module.public_nat-bastion_subnets.ids}" | ||
} | ||
|
||
output "public_lb_subnets" { | ||
value = "${module.public_lb_subnets.ids}" | ||
description = "List of the public_lb subnets id created" | ||
value = "${module.public_lb_subnets.ids}" | ||
} | ||
|
||
output "private_app_subnets" { | ||
value = "${module.private_app_subnets.ids}" | ||
description = "List of the private_app subnets id created" | ||
value = "${module.private_app_subnets.ids}" | ||
} | ||
|
||
output "private_db_subnets" { | ||
value = "${module.private_db_subnets.ids}" | ||
description = "List of the private_db subnets id created" | ||
value = "${module.private_db_subnets.ids}" | ||
} | ||
|
||
output "private_management_subnets" { | ||
value = "${module.private_management_subnets.ids}" | ||
description = "List of the private_management subnets id created" | ||
value = "${module.private_management_subnets.ids}" | ||
} | ||
|
||
output "private_rts" { | ||
value = ["${aws_route_table.private.*.id}"] | ||
description = "List of the ids of the private route tables created" | ||
value = ["${aws_route_table.private.*.id}"] | ||
} | ||
|
||
output "public_rts" { | ||
value = ["${aws_route_table.public.*.id}"] | ||
description = "List of the ids of the public route tables created" | ||
value = ["${aws_route_table.public.*.id}"] | ||
} | ||
|
||
output "default_network_acl_id" { | ||
value = "${aws_vpc.main.default_network_acl_id}" | ||
description = "Id of the default network acl" | ||
value = "${aws_vpc.main.default_network_acl_id}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.