vars.tf 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 "splunk_data_sources" {
  25. description = "List of CIDRs of additional data sources that should be allowed through the firewall"
  26. type = list(string)
  27. }
  28. variable "azs" {
  29. type = list(string)
  30. }
  31. variable "private_subnets" {
  32. type = list(string)
  33. }
  34. variable "public_subnets" {
  35. type = list(string)
  36. }
  37. variable "vpc_id" {
  38. type = string
  39. }
  40. variable "vpc_cidr" {
  41. type = string
  42. }
  43. variable "tags" {
  44. description = "Tags to add to the resource (in addition to global standard tags)"
  45. type = map
  46. default = { }
  47. }
  48. variable "instance_type" {
  49. type = string
  50. default = "t3a.micro"
  51. }
  52. variable "reverse_enabled" {
  53. description = "Whether to create the reverse DNS entry."
  54. type = bool
  55. default = true
  56. }
  57. variable "trusted_ips" { type = list(string) }
  58. variable "proxy" { type = string }
  59. variable "salt_master" { type = string }
  60. variable "cidr_map" { type = map }
  61. variable "dns_info" { type = map }
  62. variable "standard_tags" { type = map }
  63. variable "environment" { type = string }
  64. variable "aws_region" { type = string }
  65. variable "aws_account_id" { type = string }
  66. variable "aws_partition" { type = string }
  67. variable "aws_partition_alias" { type = string }
  68. variable "common_services_account" { type = string }
  69. variable "instance_termination_protection" { type = bool }