vars.tf 468 B

1234567891011121314
  1. variable "tags" {
  2. type = map(any)
  3. default = {}
  4. }
  5. # ----------------------------------
  6. # Below this line are variables inherited from higher levels, so they
  7. # do not need to be explicitly passed to this module.
  8. locals {
  9. logging_environment = var.environment == "common" ? "prod" : var.environment # common logs to prod
  10. c2_account = var.c2_accounts[var.aws_partition]
  11. is_c2 = var.aws_account_id == local.c2_account ? true : false
  12. }