Garret Harp
10/29/2021, 10:13 PMSam Hulick
10/29/2021, 11:59 PMGarret Harp
10/30/2021, 12:14 AMSam Hulick
10/30/2021, 12:15 AMFrank
Garret Harp
10/31/2021, 2:23 AMSam Hulick
10/31/2021, 5:44 PMSam Hulick
10/31/2021, 5:47 PMSSM_ROLE_ARN
should be the ARN of the primary account’s IAM role that grants access to sub-accounts. it looks like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "ssm:GetParameter",
"Resource": "*"
}
]
}
and for that IAM role’s trust relationship, you want this:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<sub account ID>:root"
},
"Action": "sts:AssumeRole",
"Condition": {}
}
]
}