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

Validate IAM policies #15

Open
rclark opened this issue Feb 20, 2017 · 0 comments
Open

Validate IAM policies #15

rclark opened this issue Feb 20, 2017 · 0 comments

Comments

@rclark
Copy link
Contributor

rclark commented Feb 20, 2017

Right now, template validation will accept a template with IAM policies that are completely invalid. It could be interesting to try mixing in calls to iam.simulateCustomPolicy() with template validation. The goal wouldn't be to actually test that the policies provide some permission, but just that if you provide this API with a policy that contains invalid syntax, it will fail.

This could help prevent the horrible cycle of deploy-fail-debug-deploy that plagues everyone from time to time.

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

1 participant