Thanks to visit codestin.com
Credit goes to github.com

Skip to content

codepipeline access denied issue #443

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

Closed
blomm opened this issue Dec 20, 2019 · 3 comments
Closed

codepipeline access denied issue #443

blomm opened this issue Dec 20, 2019 · 3 comments

Comments

@blomm
Copy link

blomm commented Dec 20, 2019

If I run serverless deploy -s dev from my local machine, my function deploys with my layer (non-dockerized). Non-dockerized because they're simple packages and don't need docker, however I'm using serverless-python-requirements to put the packages in layer.

I want to do a serverless deploy on code push, so I've set up codepipeline, and all is good until the step which give me Access Denied:

Serverless: Packaging Python Requirements Lambda Layer...

Question is, what is this necessary access?

image

@blomm
Copy link
Author

blomm commented Dec 20, 2019

the next step was :
Serverless: Uploading CloudFormation file to S3...
so I've added s3 * policy to the role that's executing my build

@blomm
Copy link
Author

blomm commented Dec 20, 2019

so yeah, my issue related to serverless permissions needed in codepipeline/codebuild...
...there were lots of other policies that needed applying too
serverless/serverless#1439

@bsamuel-ui
Copy link
Contributor

Thanks for posting the solution!

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

No branches or pull requests

2 participants