vars.tf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. variable "create_instance_profile" {
  2. description = "Whether to create the instance profile. Can only be 'true' for one module per account."
  3. type = string
  4. default = true
  5. }
  6. variable "instance_name" {
  7. description = "[Optional] Override the Instance Name"
  8. type = string
  9. default = ""
  10. }
  11. variable "alb_name" {
  12. description = "[Optional] Override the ALB Name"
  13. type = string
  14. default = ""
  15. }
  16. variable "prefix" {
  17. description = "Prefix for Instance Names"
  18. type = string
  19. }
  20. variable "splunk_legacy_cidr" {
  21. description = "The legacy CIDR block(s)"
  22. default = []
  23. type = list(string)
  24. }
  25. variable "azs" {
  26. type = list(string)
  27. }
  28. variable "subnets" {
  29. type = list(string)
  30. }
  31. variable "vpc_id" {
  32. type = string
  33. }
  34. variable "vpc_cidr" {
  35. type = string
  36. }
  37. variable "tags" {
  38. description = "Tags to add to the resource (in addition to global standard tags)"
  39. type = map(any)
  40. default = {}
  41. }
  42. variable "instance_tags" {
  43. description = "Tags for the instance only."
  44. type = map(string)
  45. default = {}
  46. }
  47. variable "instance_type" {
  48. type = string
  49. default = "t3a.micro"
  50. }
  51. variable "reverse_enabled" {
  52. description = "Whether to create the reverse DNS entry."
  53. type = bool
  54. default = true
  55. }