outputs.tf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // The region in which the infra lives.
  2. output "region" {
  3. value = "${var.region}"
  4. }
  5. // Security group for internal ELBs.
  6. output "internal_elb" {
  7. value = "${module.security_groups.internal_elb}"
  8. }
  9. // Security group for external ELBs.
  10. output "external_elb" {
  11. value = "${module.security_groups.external_elb}"
  12. }
  13. // Comma separated list of internal subnet IDs.
  14. output "internal_subnets" {
  15. value = "${module.vpc.internal_subnets}"
  16. }
  17. // Comma separated list of external subnet IDs.
  18. output "external_subnets" {
  19. value = "${module.vpc.external_subnets}"
  20. }
  21. // The environment of the stack, e.g "prod".
  22. output "environment" {
  23. value = "${var.environment}"
  24. }
  25. // The VPC availability zones.
  26. output "availability_zones" {
  27. value = "${module.vpc.availability_zones}"
  28. }
  29. // The VPC security group ID.
  30. output "vpc_security_group" {
  31. value = "${module.vpc.security_group}"
  32. }
  33. // The VPC ID.
  34. output "vpc_id" {
  35. value = "${module.vpc.id}"
  36. }
  37. // Comma separated list of internal route table IDs.
  38. output "internal_route_tables" {
  39. value = "${module.vpc.internal_rtb_id}"
  40. }
  41. // The external route table ID.
  42. output "external_route_tables" {
  43. value = "${module.vpc.external_rtb_id}"
  44. }