vars.tf 1.5 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 "vpc_id" {
  9. type = string
  10. }
  11. variable "tags" {
  12. description = "Tags to add to the resource (in addition to global standard tags)"
  13. type = map(any)
  14. default = {}
  15. }
  16. variable "instance_tags" {
  17. description = "Tags for the instance only."
  18. type = map(string)
  19. default = {}
  20. }
  21. variable "instance_type" {
  22. type = string
  23. default = "t3a.micro"
  24. }
  25. variable "reverse_enabled" {
  26. description = "Whether to create the reverse DNS entry."
  27. type = bool
  28. default = true
  29. }
  30. variable "trusted_ips" { type = list(string) }
  31. variable "proxy" { type = string }
  32. variable "salt_master" { type = string }
  33. variable "repo_server_whitelist" { type = list(string) }
  34. variable "c2_services_external_ips" {
  35. type = list(object({ cidr_blocks = list(string), description = string }))
  36. default = []
  37. }
  38. variable "cidr_map" { type = map(any) }
  39. variable "dns_info" { type = map(any) }
  40. variable "standard_tags" { type = map(any) }
  41. variable "environment" { type = string }
  42. variable "aws_region" { type = string }
  43. variable "aws_partition" { type = string }
  44. variable "aws_partition_alias" { type = string }
  45. variable "aws_account_id" { type = string }
  46. variable "common_services_account" { type = string }
  47. variable "instance_termination_protection" { type = bool }
  48. variable "private_subnets" { type = list(string) }
  49. variable "public_subnets" { type = list(string) }