variables.tf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. variable "name" {}
  2. variable "cidr" {
  3. default = "10.0.0.0/16"
  4. }
  5. variable "public_subnet" {
  6. description = "Default public subnet inside the VPC."
  7. default = "10.0.1.0/24"
  8. }
  9. variable "private_subnet" {
  10. description = "Default private subnet inside the VPC."
  11. default = "10.0.2.0/24"
  12. }
  13. variable "enable_dns_hostnames" {
  14. description = "should be true if you want to use private DNS within the VPC"
  15. default = true
  16. }
  17. variable "enable_dns_support" {
  18. description = "should be true if you want to use private DNS within the VPC"
  19. default = true
  20. }
  21. variable "enable_nat_gateway" {
  22. description = "should be true if you want to provision NAT Gateways for each of your private networks"
  23. default = false
  24. }
  25. variable "map_public_ip_on_launch" {
  26. description = "should be false if you do not want to auto-assign public IP on launch"
  27. default = true
  28. }
  29. variable "private_propagating_vgws" {
  30. description = "A list of VGWs the private route table should propagate."
  31. default = []
  32. }
  33. variable "public_propagating_vgws" {
  34. description = "A list of VGWs the public route table should propagate."
  35. default = []
  36. }
  37. data "aws_availability_zones" "available" {}