vars.tf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. variable "prefix" {
  2. description = "Prefix for Instance Names"
  3. type = string
  4. }
  5. variable "splunk_volume_sizes" {
  6. description = "Map of volume sizes"
  7. type = map(map(number))
  8. }
  9. variable "splunk_legacy_cidr" {
  10. description = "The legacy CIDR block(s)"
  11. default = []
  12. type = list(string)
  13. }
  14. variable "splunk_asg_sizes" {
  15. description = "How many instances in each asg"
  16. default = [ 1, 1, 1 ]
  17. type = list(number)
  18. }
  19. variable "splunk_data_sources" {
  20. description = "List of CIDRs of additional data sources that should be allowed through the firewall"
  21. type = list(string)
  22. }
  23. variable "azs" {
  24. type = list(string)
  25. }
  26. variable "private_subnets" {
  27. type = list(string)
  28. }
  29. variable "public_subnets" {
  30. type = list(string)
  31. }
  32. variable "vpc_id" {
  33. type = string
  34. }
  35. variable "vpc_cidr" {
  36. type = string
  37. }
  38. variable "tags" {
  39. description = "Tags to add to the resource (in addition to global standard tags)"
  40. type = map
  41. default = { }
  42. }
  43. variable "instance_type" {
  44. type = string
  45. default = "t3a.micro"
  46. }
  47. variable "reverse_enabled" {
  48. description = "Whether to create the reverse DNS entry."
  49. type = bool
  50. default = true
  51. }
  52. variable "trusted_ips" { type = list(string) }
  53. variable "proxy" { type = string }
  54. variable "salt_master" { type = string }
  55. variable "cidr_map" { type = map }
  56. variable "dns_info" { type = map }
  57. variable "standard_tags" { type = map }
  58. variable "environment" { type = string }
  59. variable "aws_region" { type = string }
  60. variable "aws_account_id" { type = string }
  61. variable "aws_partition" { type = string }
  62. variable "aws_partition_alias" { type = string }
  63. variable "common_services_account" { type = string }
  64. variable "instance_termination_protection" { type = bool }