vars.tf 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. variable "instance_name" {
  2. description = "Hostname, DNS entry, etc."
  3. type = string
  4. }
  5. variable "azs" {
  6. type = list(string)
  7. }
  8. variable "subnets" {
  9. type = list(string)
  10. }
  11. variable "vpc_id" {
  12. type = string
  13. }
  14. variable "tags" {
  15. description = "Tags to add to the resource (in addition to global standard tags)"
  16. type = map
  17. default = { }
  18. }
  19. variable "instance_tags" {
  20. description = "Tags for the instance only."
  21. type = map(string)
  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 "c2_services_external_ips" {
  37. type = list(object({cidr_blocks=list(string),description=string}))
  38. default = []
  39. }
  40. variable "cidr_map" { type = map }
  41. variable "dns_info" { type = map }
  42. variable "standard_tags" { type = map }
  43. variable "environment" { type = string }
  44. variable "aws_region" { type = string }
  45. variable "aws_partition" { type = string }
  46. variable "aws_partition_alias" { type = string }
  47. variable "aws_account_id" { type = string }
  48. variable "common_services_account" { type = string }
  49. variable "instance_termination_protection" { type = bool }