partition.hcl 1021 B

1234567891011121314151617181920212223242526272829303132
  1. # Set common variables for the environment. This is automatically pulled in in the root terragrunt.hcl configuration to
  2. # feed forward to the child modules.
  3. #
  4. # NOTE: There is only one copy of this, in the `common/` tree, and the others are symbolic links.
  5. locals {
  6. aws_partition = "aws-us-gov"
  7. aws_partition_alias = "govcloud"
  8. common_services_account = "701290387780"
  9. common_profile = "${local.aws_partition == "aws-us-gov" ? "govcloud" : "commercial"}"
  10. account_map = {
  11. "prod" = [
  12. "721817724804", # mdr-prod-c2
  13. "738736370544", # mdr-prod-modelclient
  14. "876865127438", # mdr-prod-malware
  15. ],
  16. "test" = [
  17. "738800754746", # mdr-test-c2
  18. "701341250728", # mdr-test-modelclient
  19. "876942499057", # mdr-test-malware
  20. ],
  21. "common" = [
  22. "701290387780", # mdr-common-services
  23. ],
  24. }
  25. # flatten the map into a single list
  26. account_list = flatten([
  27. for env, accounts in local.account_map: accounts
  28. ])
  29. aws_marketplace_ubuntu_owner_id = "874634375141"
  30. }