cloudfriend icon indicating copy to clipboard operation
cloudfriend copied to clipboard

Validate IAM policies

Open rclark opened this issue 8 years ago • 0 comments

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.

rclark avatar Feb 20 '17 20:02 rclark