outputs.tf 570 B

12345678910111213141516171819202122232425262728293031
  1. output "private_subnet" {
  2. value = "${aws_subnet.private.id}"
  3. }
  4. output "public_subnet" {
  5. value = "${aws_subnet.public.id}"
  6. }
  7. output "vpc_id" {
  8. value = "${aws_vpc.main.id}"
  9. }
  10. output "public_route_table_ids" {
  11. value = ["${aws_route_table.public.*.id}"]
  12. }
  13. output "private_route_table_ids" {
  14. value = ["${aws_route_table.private.*.id}"]
  15. }
  16. output "default_security_group_id" {
  17. value = "${aws_vpc.main.default_security_group_id}"
  18. }
  19. output "nat_eips" {
  20. value = ["${aws_eip.nateip.*.id}"]
  21. }
  22. output "sg_inbound" {
  23. value = "${aws_security_group.inbound.id}"
  24. }