variables.tf 884 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ## Variables
  2. variable "tags" {
  3. type = map(string)
  4. default = {}
  5. }
  6. variable "vpc_id" {
  7. type = string
  8. default = ""
  9. }
  10. variable "ingress_alb_sg_rule" {
  11. type = any
  12. default = {}
  13. }
  14. variable "egress_alb_sg_rule" {
  15. type = any
  16. default = {}
  17. }
  18. variable "ingress_ec2_sg_rule" {
  19. type = any
  20. default = {}
  21. }
  22. variable "egress_ec2_sg_rule" {
  23. type = any
  24. default = {}
  25. }
  26. variable "alb_subnet_ids" {
  27. type = list(string)
  28. default = [""]
  29. }
  30. variable "ec2_subnet_id" {
  31. type = string
  32. default = ""
  33. }
  34. variable "ec2_launch_template" {
  35. type = map(string)
  36. default = {}
  37. }
  38. variable "ec2_alb_target_group" {
  39. type = map(string)
  40. default = {}
  41. }
  42. variable "alb_ec2" {
  43. type = map(string)
  44. default = {}
  45. }
  46. variable "alb_listener" {
  47. type = any
  48. default = {}
  49. }
  50. variable "ec2_autoscaling_group" {
  51. type = map(string)
  52. default = {}
  53. }