Carter Danko
11/03/2025, 5:18 PMatmos.yaml if anyone has any guidance:
Instead of specifying each store for each account individually like
stores:
sandbox/use1/devops:
type: aws-ssm-parameter-store
options:
region: us-east-1
read_role_arn: arn:aws:iam::123456789:role/sandbox-gbl-devops-terraform
write_role_arn: arn:aws:iam::123456789:role/sandbox-gbl-devops-terraform
Is there any option to dynamically create those store entries based on the vars like tenant-environment-stage and dynamically build those in the atmos.yaml and reference them in the downstream stacks? IE something like.
stores:
{{tenant}}/{{stage}}:
type: aws-ssm-parameter-store
options:
region: us-east-1
read_role_arn: arn:aws:iam::{{account_id}}:role/{{tenant}}-gbl-{{stage}}-terraform
write_role_arn: arn:aws:iam::{{account_id}}:role/{{tenant}}-gbl-{{stage}}-terraform
doing that would allow us to just infer the right store when the hooks run, vs hardcoding all the different stores for each of our accounts.Andriy Knysh (Cloud Posse)
11/04/2025, 3:16 AMatmos.yaml, but your point is valid - would be nice to have the feature.
@Gabriela Campana (Cloud Posse) please create a task to review it (before we implement anything)Gabriela Campana (Cloud Posse)
11/04/2025, 2:16 PMstores in atmos.yaml (review before implementation)