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

update Lambda Support documentation examples to show role is required #3262

Open
FireballDWF opened this issue Dec 19, 2018 · 3 comments
Open

Comments

@FireballDWF
Copy link
Collaborator

Role is actually required in the 3 policies examples at https://cloudcustodian.io/docs/policy/lambda.html so it would help beginners to include the role example from the config rule example in the first three policies as well. In addition, it would also help beginners to show some minimal IAM policy for that role that would at least allow documentation examples to run.

@FireballDWF
Copy link
Collaborator Author

Without this improved documentation, beginners will spin cycles troubleshooting, some may give up, others will submit issues like #63

@thisisshi
Copy link
Member

Right, I think it should be clarified as well that the --assume-role option in the custodian run cli command will also be picked up as the role if no role is given in the policy file

@kapilt
Copy link
Collaborator

kapilt commented Dec 20, 2018 via email

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