X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=infrastructure%2Fmodules%2Ftf_aws_vpc%2Foutputs.tf;fp=infrastructure%2Fmodules%2Ftf_aws_vpc%2Foutputs.tf;h=ca68bbc33dce97133cd7fdcfa73c999eb434b80c;hp=0000000000000000000000000000000000000000;hb=8576668075ca95e44481d9c9ed29d7e6af024bdc;hpb=933c48ff1e134168de3aaa2d20e4d43c13d04928 diff --git a/infrastructure/modules/tf_aws_vpc/outputs.tf b/infrastructure/modules/tf_aws_vpc/outputs.tf new file mode 100644 index 0000000..ca68bbc --- /dev/null +++ b/infrastructure/modules/tf_aws_vpc/outputs.tf @@ -0,0 +1,35 @@ +output "vpc_id" { + value = "${aws_vpc.default.id}" +} + +output "vpc_name" { + value = "${var.project}-${var.environment}-vpc" +} + +output "public_subnets" { + value = "${aws_subnet.public.*.id}" +} + +output "private_subnets" { + value = "${aws_subnet.private.*.id}" +} + +output "nat_gateway_ips" { + value = "${aws_eip.nat.*.public_ip}" +} + +output "private_route_table_ids" { + value = "${aws_route_table.private.*.id}" +} + +output "public_route_table_id" { + value = "${aws_route_table.public.id}" +} + +output "base_policy_arn" { + value = "${aws_iam_policy.base.arn}" +} + +output "general_access_sg_id" { + value = "${aws_security_group.general-access.id}" +}