Michael
08/13/2025, 5:48 PMdev-use1-log, dev-usw2-log , stage-use1-iam , and others along that pattern, can I do something like this in my `atmos.yaml`:
# Atmos Stores
# https://atmos.tools/core-concepts/projects/configuration/stores/
stores:
use1/ssm:
type: aws-ssm-parameter-store
options:
region: us-east-1
usw2/ssm:
type: aws-ssm-parameter-store
options:
region: us-west-2
and then reference the per-account store via:
- name: "AWS-AWSManagedRulesBotControlRuleSet"
priority: 100
statement:
# https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html
name: AWSManagedRulesBotControlRuleSet
vendor_name: AWS
scope_down_not_statement_enabled: true
scope_down_statement:
byte_match_statement:
field_to_match:
single_header:
name: "secret-token"
positional_constraint: "EXACTLY"
search_string: !store use1/ssm waf/defaults /waf/defaults/secret_token
text_transformation:
- priority: 101
type: "NONE"
My goal is to be able to directly pull from each account's store into my stacks (if that makes sense)Gabriela Campana (Cloud Posse)
08/13/2025, 6:21 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:16 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:16 PMMichael
08/13/2025, 7:18 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:19 PMread_role_arn: "arn:aws:iam::123456789012:role/ssm-read-role" # Optional role ARN for read operations
write_role_arn: "arn:aws:iam::123456789012:role/ssm-write-role" # Optional role ARN for write operationsAndriy Knysh (Cloud Posse)
08/13/2025, 7:19 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:20 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:21 PMand then reference the per-account store via:
Andriy Knysh (Cloud Posse)
08/13/2025, 7:23 PM!store expects that format)Andriy Knysh (Cloud Posse)
08/13/2025, 7:24 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:24 PMMichael
08/13/2025, 7:30 PM!store functionality to directly access SSM parameters across accounts without needing to do any Terraform output/remote state work. Right now, I'm using parameter stores across 15+ accounts, so configuring stores for each of them feels repetitive so I was curious if there was a way to just specify east and west and then dynamically assume the role for each stack if that makes senseAndriy Knysh (Cloud Posse)
08/13/2025, 7:40 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:40 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:41 PM!store expects a particular data format (written by hook )Andriy Knysh (Cloud Posse)
08/13/2025, 7:41 PMAndriy Knysh (Cloud Posse)
08/13/2025, 7:42 PM!store.key would doAndriy Knysh (Cloud Posse)
08/13/2025, 7:42 PMPePe Amengual
08/13/2025, 8:34 PMPePe Amengual
08/13/2025, 10:40 PMPePe Amengual
08/13/2025, 10:41 PMAndriy Knysh (Cloud Posse)
08/14/2025, 1:35 PMErik Osterman (Cloud Posse)
08/14/2025, 2:05 PM!store.get
https://sweetops.slack.com/archives/C031919U8A0/p1755114120413689?thread_ts=1755107326.073009&cid=C031919U8A0Andriy Knysh (Cloud Posse)
08/14/2025, 2:06 PM!store.get, PePe has it correctly in the PRPePe Amengual
08/14/2025, 4:33 PMAndriy Knysh (Cloud Posse)
08/14/2025, 5:11 PMPePe Amengual
08/14/2025, 5:12 PMAndriy Knysh (Cloud Posse)
08/15/2025, 6:52 PMmain
It will be available in the next release (ETA by Monday)
CC @MichaelAndriy Knysh (Cloud Posse)
08/18/2025, 12:20 AMPePe Amengual
08/18/2025, 2:59 AMAndriy Knysh (Cloud Posse)
08/18/2025, 3:10 AMPePe Amengual
08/18/2025, 3:26 AMPePe Amengual
08/18/2025, 3:27 AMAndriy Knysh (Cloud Posse)
08/18/2025, 1:47 PM--stack flag together with the --include-dependents flag, which we tested and it work correctly, at least in our tests)Andriy Knysh (Cloud Posse)
08/18/2025, 1:48 PM!store.get YAML function is also in the last Atmos release, thanks)PePe Amengual
08/18/2025, 6:48 PM--stack flag is that it processes!terraform.output functions of other stacks and not just the stack that was selectedPePe Amengual
08/18/2025, 6:48 PMPePe Amengual
08/18/2025, 6:50 PMAndriy Knysh (Cloud Posse)
08/18/2025, 7:07 PMThe problem with describe-affected and theok, i see, thanks (this needs to be addressed)flag is that it processes!terraform.output functions of other stacks and not just the stack that was selected--stack
Andriy Knysh (Cloud Posse)
08/18/2025, 7:09 PMmetadata.locked: true
it was meant to be used to disable component updates (terraform apply), but still enable reads (TF plans). It was not meant to serve as an enable flag for describe affectedAndriy Knysh (Cloud Posse)
08/18/2025, 7:09 PMAndriy Knysh (Cloud Posse)
08/18/2025, 7:10 PMAndriy Knysh (Cloud Posse)
08/18/2025, 7:11 PMatmos.yaml to enable using metadata.locked in describe affected (so by default, it does not, but you can enable it)
• Add a separate attribute to metadata related to describe affectedPePe Amengual
08/18/2025, 7:20 PMPePe Amengual
08/18/2025, 7:21 PMAndriy Knysh (Cloud Posse)
08/19/2025, 3:22 AMdescribe affected does not process Atmos YAML functions (and Go templates) by default.
When you execute atmos describe affected --pager off --stack ue1-prod - no YAML functions aand Go templates are processed in all stacks (not only in ue1-prod.
You can use --process-functions and --process-templates flags to explicitly process YAML funcs and templates
atmos describe affected --pager off --process-functions --stack ue1-prodPePe Amengual
08/19/2025, 3:24 AMPePe Amengual
08/19/2025, 3:25 AMAndriy Knysh (Cloud Posse)
08/19/2025, 3:25 AMue1-prod
`atmos describe affected --pager off --process-functions --stack ue1-prod`:
• will process YAML functions (including !terraform.output) just in the ue1-prod stack (not in all stacks)
• will find affected in ue1-prod stack onlyPePe Amengual
08/19/2025, 3:26 AMAndriy Knysh (Cloud Posse)
08/19/2025, 3:26 AMErik Osterman (Cloud Posse)
08/19/2025, 3:37 AM