Hey there – is there a reference for minimum neces...
# sst
m
Hey there – is there a reference for minimum necessary IAM permissions to deploy an SST app?
f
Hey @Michael Orcutt, we don’t right now, but we should definitely document this better.
You can use the
--role-arn
option to pass in an IAM role that CloudFormation uses to provision the stacks and resources. And your local IAM credential should just need CloudFormation related permissions to kick off and monitor the deployment.
m
Nice!
We're running into issues on Seed with CDK Bootstrap and I seemingly have the perms (but clearly don't!)
Copy code
CDKToolkit The following resource(s) failed to create: [ImagePublishingRole, FilePublishingRole, CdkBootstrapVersion, LookupRole, StagingBucket, CloudFormationExecutionRole, ContainerAssetsRepository].
"arnawsiam::{account_id{*:role/cdk*"
We have –
"iam:GetRole", "iam:PassRole", "iam:DetachRolePolicy", "iam:UntagRole", "iam:DeleteRolePolicy", "iam:TagRole", "iam:CreateRole", "iam:DeleteRole", "iam:AttachRolePolicy", "iam:PutRolePolicy", "iam:GetRolePolicy"
on that arn
f
Can you DM me a link to the build?
m
Sent