vars.tf 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_type" {
  54. type = string
  55. default = "t3a.micro"
  56. }
  57. variable "reverse_enabled" {
  58. description = "Whether to create the reverse DNS entry."
  59. type = bool
  60. default = true
  61. }
  62. variable "trusted_ips" { type = list(string) }
  63. variable "proxy" { type = string }
  64. variable "salt_master" { type = string }
  65. variable "cidr_map" { type = map }
  66. variable "dns_info" { type = map }
  67. variable "standard_tags" { type = map }
  68. variable "environment" { type = string }
  69. variable "aws_region" { type = string }
  70. variable "aws_account_id" { type = string }
  71. variable "aws_partition" { type = string }
  72. variable "aws_partition_alias" { type = string }
  73. variable "common_services_account" { type = string }
  74. variable "instance_termination_protection" { type = bool }