vars.tf 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 "splunk_volume_sizes" {
  29. type = map(map(number))
  30. }
  31. variable "subnets" {
  32. type = list(string)
  33. }
  34. variable "vpc_id" {
  35. type = string
  36. }
  37. variable "vpc_cidr" {
  38. type = string
  39. }
  40. variable "tags" {
  41. description = "Tags to add to the resource (in addition to global standard tags)"
  42. type = map
  43. default = { }
  44. }
  45. variable "instance_tags" {
  46. description = "Tags for the instance only."
  47. type = map(string)
  48. default = { }
  49. }
  50. variable "instance_type" {
  51. type = string
  52. default = "t3a.micro"
  53. }
  54. variable "reverse_enabled" {
  55. description = "Whether to create the reverse DNS entry."
  56. type = bool
  57. default = true
  58. }
  59. variable "trusted_ips" { type = list(string) }
  60. variable "proxy" { type = string }
  61. variable "salt_master" { type = string }
  62. variable "cidr_map" { type = map }
  63. variable "dns_info" { type = map }
  64. variable "standard_tags" { type = map }
  65. variable "environment" { type = string }
  66. variable "aws_region" { type = string }
  67. variable "aws_partition" { type = string }
  68. variable "aws_partition_alias" { type = string }
  69. variable "aws_account_id" { type = string }
  70. variable "common_services_account" { type = string }
  71. variable "instance_termination_protection" { type = bool }