vars.tf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. variable "instance_name" {
  2. description = "Hostname, DNS entry, etc."
  3. type = string
  4. }
  5. variable "azs" {
  6. type = list(string)
  7. }
  8. variable "private_subnets" {
  9. type = list(string)
  10. }
  11. variable "public_subnets" {
  12. type = list(string)
  13. }
  14. variable "vpc_id" {
  15. type = string
  16. }
  17. variable "tags" {
  18. description = "Tags to add to the resource (in addition to global standard tags)"
  19. type = map(any)
  20. default = {}
  21. }
  22. variable "instance_type" {
  23. type = string
  24. default = "t3a.micro"
  25. }
  26. variable "reverse_enabled" {
  27. description = "Whether to create the reverse DNS entry."
  28. type = bool
  29. default = true
  30. }
  31. variable "trusted_ips" { type = list(string) }
  32. variable "proxy" { type = string }
  33. variable "salt_master" { type = string }
  34. variable "cidr_map" { type = map(any) }
  35. variable "dns_info" { type = map(any) }
  36. variable "standard_tags" { type = map(any) }
  37. variable "environment" { type = string }
  38. variable "aws_region" { type = string }
  39. variable "aws_partition" { type = string }
  40. variable "aws_partition_alias" { type = string }
  41. variable "aws_account_id" { type = string }
  42. variable "common_services_account" { type = string }
  43. variable "instance_termination_protection" { type = bool }
  44. variable "c2_services_external_ips" {
  45. type = list(object({ cidr_blocks = list(string), description = string }))
  46. default = []
  47. }