Frank
📢 UpdateRun your SST commands with
--role-arn
to specify an execution IAM role for CloudFormation to use when creating/updating/deleting your stacks.thdxr
06/15/2021, 12:11 PMFrank
[default]
aws_access_key_id = xxxxxxxxxxxxxxxxxxxx
aws_secret_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[prod]
region = us-east-1
role_arn = arn:aws:iam::111111111111:role/admin-role
source_profile = default
thdxr
06/15/2021, 5:43 PMFrank
default
profile is for ur dev
stage. And your SST app has Apis, Tables, Topics, Queues, Step Functions, etc but you don’t want to give default
the permissions to create/update/remove all those resources. So you can create an IAM role that can create/update/remove those resources, and tell CloudFormation to use that role instead ur default
profile.Frank
--role-arn
thdxr
06/15/2021, 6:20 PMthdxr
06/15/2021, 6:21 PM