partition.hcl 986 B

12345678910111213141516171819202122232425262728293031
  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. common_services_account = "701290387780"
  8. common_profile = "${local.aws_partition == "aws-us-gov" ? "govcloud" : "commercial"}"
  9. account_map = {
  10. "prod" = [
  11. "721817724804", # mdr-prod-c2
  12. "738736370544", # mdr-prod-modelclient
  13. "876865127438", # mdr-prod-malware
  14. ],
  15. "test" = [
  16. "738800754746", # mdr-test-c2
  17. "701341250728", # mdr-test-modelclient
  18. "876942499057", # mdr-test-malware
  19. ],
  20. "common" = [
  21. "701290387780", # mdr-common-services
  22. ],
  23. }
  24. # flatten the map into a single list
  25. account_list = flatten([
  26. for env, accounts in local.account_map: accounts
  27. ])
  28. aws_marketplace_ubuntu_owner_id = "874634375141"
  29. }