vars.tf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. variable "prefix" {
  2. description = "Prefix for Instance Names"
  3. type = string
  4. }
  5. variable "splunk_private_hec" {
  6. description = "Whether the customer needs a private HTTP Event Collector"
  7. type = bool
  8. default = false
  9. }
  10. variable "splunk_volume_sizes" {
  11. description = "Map of volume sizes"
  12. type = map(map(number))
  13. }
  14. variable "splunk_legacy_cidr" {
  15. description = "The legacy CIDR block(s)"
  16. default = []
  17. type = list(string)
  18. }
  19. variable "splunk_asg_sizes" {
  20. description = "How many instances in each asg"
  21. default = [ 1, 1, 1 ]
  22. type = list(number)
  23. }
  24. variable "hec_listen_443" {
  25. description = "Should HEC LB (also) listen on :443. 8088 always listens"
  26. default = false
  27. type = bool
  28. }
  29. variable "splunk_data_sources" {
  30. description = "List of CIDRs of additional data sources that should be allowed through the firewall"
  31. type = list(string)
  32. }
  33. variable "azs" {
  34. type = list(string)
  35. }
  36. variable "private_subnets" {
  37. type = list(string)
  38. }
  39. variable "public_subnets" {
  40. type = list(string)
  41. }
  42. variable "vpc_id" {
  43. type = string
  44. }
  45. variable "vpc_cidr" {
  46. type = string
  47. }
  48. variable "tags" {
  49. description = "Tags to add to the resource (in addition to global standard tags)"
  50. type = map
  51. default = { }
  52. }
  53. variable "instance_tags" {
  54. description = "Tags only for the ASG instances. For the indexer clusters, this is an array with different tags for each of the 3 ASGs."
  55. type = list(map(string))
  56. default = [ {}, {}, {} ]
  57. }
  58. variable "instance_type" {
  59. type = string
  60. default = "t3a.micro"
  61. }
  62. variable "reverse_enabled" {
  63. description = "Whether to create the reverse DNS entry."
  64. type = bool
  65. default = true
  66. }
  67. variable "trusted_ips" { type = list(string) }
  68. variable "proxy" { type = string }
  69. variable "salt_master" { type = string }
  70. variable "cidr_map" { type = map }
  71. variable "dns_info" { type = map }
  72. variable "standard_tags" { type = map }
  73. variable "environment" { type = string }
  74. variable "aws_region" { type = string }
  75. variable "aws_account_id" { type = string }
  76. variable "aws_partition" { type = string }
  77. variable "aws_partition_alias" { type = string }
  78. variable "common_services_account" { type = string }
  79. variable "instance_termination_protection" { type = bool }