variables.tf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. ## Variables
  2. variable "region" {
  3. type = string
  4. default = ""
  5. }
  6. variable "tags" {
  7. type = map(string)
  8. default = {}
  9. }
  10. variable "cidr_block" {
  11. type = string
  12. default = ""
  13. }
  14. variable "public_subnet_az" {
  15. type = list(string)
  16. default = [""]
  17. }
  18. variable "public_subnet_cidr" {
  19. type = list(string)
  20. default = [""]
  21. }
  22. variable "private_subnet_az" {
  23. type = string
  24. default = ""
  25. }
  26. variable "private_subnet_cidr" {
  27. type = string
  28. default = ""
  29. }
  30. variable "ingress_alb_sg_rule" {
  31. type = any
  32. default = {}
  33. }
  34. variable "egress_alb_sg_rule" {
  35. type = any
  36. default = {}
  37. }
  38. variable "ingress_ec2_sg_rule" {
  39. type = any
  40. default = {}
  41. }
  42. variable "egress_ec2_sg_rule" {
  43. type = any
  44. default = {}
  45. }
  46. variable "ec2_launch_template" {
  47. type = map(string)
  48. default = {}
  49. }
  50. variable "ec2_alb_target_group" {
  51. type = map(string)
  52. default = {}
  53. }
  54. variable "alb_ec2" {
  55. type = map(string)
  56. default = {}
  57. }
  58. variable "alb_listener" {
  59. type = any
  60. default = {}
  61. }
  62. variable "ec2_autoscaling_group" {
  63. type = map(string)
  64. default = {}
  65. }