-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
first pass at iam policy example for deploy user #894
Conversation
@Bartvds
Perhaps you didn't need it because your sample zip file is small and mine is large? |
+1 for the rest of the permissions though. I've copied/pasted these into my project and they work fine for all my usecases. |
👍 |
|
see the comment on your pull request Miserlou#894 Miserlou#894
Persons comment said this permission was needed
1 similar comment
I'm interested in doing something about permissions within Zappa. I've been thinking about these things:
|
the apigateway permissions can be reduced to "apigateway:*", as the only one that's missing is HEAD, and adding that doesn't seem to be a concern. |
When using
Can we add |
Thanks to everyone who's been working on this, it helps a lot! One issue though is the Action "ec2:DescribeVpcsRequest" appears to be invalid, it's not listed here: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Operations.html I assume if this policy has been working for people, then this action can just be omitted. Pinging #244 (comment #244 (comment)) as that appears to be the original source of "ec2:DescribeVpcsRequest" |
@jakul It appears CreateMultipartUpload isn't a valid S3 action: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-actions-as-permissions It appears You've probably already resolved this, as your comment is over a year old, but I figure it's worth mentioning for anyone else looking into this issue. |
Thanks for all the contributions so far. I've had to set up a VPC recently so I had to add the following permissions to my policy.
They are also documented here |
This is basically a collection from #244
I split it up into statements so people can remove chunks easily. Sadly the policy lingo is a bit limited and the only way to comment a Statement is a Sid value with only CamelCase value.
Anyway, I'm by no means an expert on zappa or IAM and this is cargo culted so please review.
Maybe this should be provided with some example (patterns) to make it more specific? Put in markdown instead of JSON?