Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAM Permissions needed to deploy and sync stack #107

Open
cbarlow1993 opened this issue Nov 8, 2022 · 1 comment
Open

IAM Permissions needed to deploy and sync stack #107

cbarlow1993 opened this issue Nov 8, 2022 · 1 comment

Comments

@cbarlow1993
Copy link

I'm trying to identify which IAM permissions are needed to deploy this stack. I can deploy with full admin rights but not with limited.

I have the correct permissions to deploy the stack to cloud formation and all the resources, but it consistently fails when trying to sync the resources and I've burnt too many hours now trying to identify which is needed. (AWS doesn't seem to help with identifying what's required and neither does the verbose logging!)

I've tried and get AccessDenied: Access Denied.

{
  Effect: 'Allow',
  Action: ['*'],
  Resource: ['arn:aws:s3:::*'],
}
@tkgregory
Copy link

You'll likely need the same permissions as the aws s3 sync command.

  • s3:DeleteObject
  • s3:GetBucketLocation
  • s3:GetObject
  • s3:ListBucket
  • s3:PutObject

(source)

Note: if you're missing s3:DeleteObject, the plugin will sync successfully, but stale items will remain in your S3 bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants