# Set common variables for the environment. This is automatically pulled in in the root terragrunt.hcl configuration to # feed forward to the child modules. # # NOTE: There is only one copy of this, in the `common/` tree, and the others are symbolic links. locals { aws_partition = "aws" common_services_account = "471284459109" common_profile = "${local.aws_partition == "aws-us-gov" ? "govcloud" : "commercial"}" account_map = { "prod" = [ "045312110490", # mdr-prod-c2 "425831147305", # mdr-prod-modelclient "369723129071", # mdr-prod-malware ], "test" = [ "816914342178", # mdr-test-c2 "449047653882", # mdr-test-modelclient "404265901253", # mdr-test-malware ], "common" = [ "471284459109", # mdr-common-services ], } # flatten the map into a single list account_list = flatten([ for env, accounts in local.account_map: accounts ]) aws_marketplace_ubuntu_owner_id = "679593333241" }