vars.tf 828 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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(any)
  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 "reverse_enabled" {
  31. description = "Whether to create the reverse DNS entry."
  32. type = bool
  33. default = true
  34. }