classmethod / gradle-aws-plugin

Gradle plugin to manage Amazon Web Services
276 stars 131 forks source link

Policy file not applied when updating a Cloudformation stack with changes that conflict with prior policy. #159

Open ericraymond opened 5 years ago

ericraymond commented 5 years ago

Using a policy file works at stack creation, but not upon update (migration) of a stack. The new policy is never applied.

As a workaround, we need to call set-stack-policy explicitly (via an exec task) before an update and it all works: e.g., 'aws cloudformation set-stack-policy ....'