constants.tf 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # This file contains variables imported from xdr-terraform-live. They may be consumed by modules
  2. # directly, or used to determine values for local variables.
  3. #
  4. # It is expected that these values will never change.
  5. #
  6. # NOTE: When adding a new variable to xdr-terraform-live, ask, "Is this variable likely to change
  7. # in the future?"
  8. #
  9. # If the answer is 'no', place it in xdr-terraform-live, and move on.
  10. #
  11. # If the answer is 'yes', next ask, "is this going to be needed by more than one module?"
  12. #
  13. # If the answer is 'no', put it in a locals.tf in the module.
  14. # If the answer is 'yes', put it in an appropriate tf file under xdr-terraform-modules/variables
  15. #
  16. # Do not be afraid to create a new one! Whenever a file in variables/ is update, all modules
  17. # that link it should be udpated.
  18. # Globals
  19. variable "binaries_bucket" { type = string }
  20. # remote_state_bucket isn't used by modules
  21. # Environment-Specific
  22. variable "environment" { type = string }
  23. variable "transit_gateway_account_name" { type = string }
  24. variable "dns_info" { type = map(any) }
  25. variable "c2_accounts" { type = map(any) }
  26. # Partition Specific
  27. variable "aws_partition" { type = string }
  28. variable "aws_partition_alias" { type = string }
  29. variable "common_services_account" { type = string }
  30. variable "common_profile" { type = string }
  31. variable "tfstate_region" { type = string }
  32. # Region specific
  33. variable "aws_region" { type = string }
  34. variable "ses_region" { type = string }
  35. # Account Specific
  36. variable "account_name" { type = string }
  37. variable "account_alias" { type = string }
  38. variable "aws_account_id" { type = string }
  39. variable "instance_termination_protection" { type = bool }
  40. variable "splunk_prefix" { type = string }