vars.tf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. variable "instance_name" {
  2. description = "Hostname, DNS entry, etc."
  3. type = string
  4. }
  5. variable "instance_count" {
  6. # This is an unusual way to do this. TODO.
  7. description = "Number of servers"
  8. type = list(string)
  9. default = ["1","2","3"]
  10. }
  11. variable "azs" {
  12. type = list(string)
  13. }
  14. variable "subnets" {
  15. type = list(string)
  16. }
  17. variable "vpc_id" {
  18. type = string
  19. }
  20. variable "tags" {
  21. description = "Tags to add to the resource (in addition to global standard tags)"
  22. type = map
  23. default = { }
  24. }
  25. variable "instance_tags" {
  26. description = "List of tags for the instances only."
  27. type = list(map(string))
  28. default = [{ }, { }, { }]
  29. }
  30. variable "instance_type" {
  31. type = string
  32. default = "t3a.micro"
  33. }
  34. variable "reverse_enabled" {
  35. description = "Whether to create the reverse DNS entry."
  36. type = bool
  37. default = true
  38. }
  39. variable "trusted_ips" { type = list(string) }
  40. variable "proxy" { type = string }
  41. variable "salt_master" { type = string }
  42. variable "cidr_map" { type = map }
  43. variable "dns_info" { type = map }
  44. variable "standard_tags" { type = map }
  45. variable "environment" { type = string }
  46. variable "aws_region" { type = string }
  47. variable "aws_partition" { type = string }
  48. variable "aws_partition_alias" { type = string }
  49. variable "aws_account_id" { type = string }
  50. variable "common_services_account" { type = string }
  51. variable "instance_termination_protection" { type = bool }