vars.tf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. variable "instance_name" {
  2. description = "Hostname, DNS entry, etc."
  3. type = string
  4. }
  5. # MSOCI-1852 - 2021-08-04 - Can be removed when old instance (instance-mailrelay.tf) is decomissioned
  6. variable "old_instance_name" {
  7. description = "Instance name for non-authenticated server"
  8. type = string
  9. }
  10. variable "azs" {
  11. type = list(string)
  12. }
  13. variable "subnets" {
  14. type = list(string)
  15. }
  16. variable "vpc_id" {
  17. type = string
  18. }
  19. variable "tags" {
  20. description = "Tags to add to the resource (in addition to global standard tags)"
  21. type = map
  22. default = { }
  23. }
  24. variable "instance_type" {
  25. type = string
  26. default = "t3a.micro"
  27. }
  28. variable "reverse_enabled" {
  29. description = "Whether to create the reverse DNS entry."
  30. type = bool
  31. default = true
  32. }
  33. variable "trusted_ips" { type = list(string) }
  34. variable "proxy" { type = string }
  35. variable "salt_master" { type = string }
  36. variable "cidr_map" { type = map }
  37. variable "dns_info" { type = map }
  38. variable "standard_tags" { type = map }
  39. variable "environment" { type = string }
  40. variable "aws_region" { type = string }
  41. variable "ses_region" { type = string }
  42. variable "aws_partition" { type = string }
  43. variable "aws_partition_alias" { type = string }
  44. variable "aws_account_id" { type = string }
  45. variable "common_services_account" { type = string }
  46. variable "instance_termination_protection" { type = bool }