vars.tf 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. variable "enabled" {
  2. description = "Whether module is enabled. Set to true to create the instance."
  3. type = bool
  4. default = false
  5. }
  6. variable "instance_name" {
  7. description = "Hostname, DNS entry, etc."
  8. type = string
  9. }
  10. variable "instance_filter" {
  11. description = "Filter string for AMI name. Must be shared to destination account from common services. NOTE: Ubuntu currently only in govcloud malware account."
  12. type = string
  13. }
  14. variable "azs" {
  15. type = list(string)
  16. }
  17. variable "subnets" {
  18. type = list(string)
  19. }
  20. variable "vpc_id" {
  21. type = string
  22. }
  23. variable "tags" {
  24. description = "Tags to add to the resource (in addition to global standard tags)"
  25. type = map(any)
  26. default = {}
  27. }
  28. variable "instance_tags" {
  29. description = "Tags for the instance only."
  30. type = map(string)
  31. default = {}
  32. }
  33. variable "instance_type" {
  34. type = string
  35. default = "t3a.micro"
  36. }
  37. variable "reverse_enabled" {
  38. description = "Whether to create the reverse DNS entry."
  39. type = bool
  40. default = true
  41. }