Files
floci/src/main/java/io
Mario Toffia a19b296f06 fix(cloudformation): store stack policies and return them (#7552)
* fix(cloudformation): store stack policies and return them

* test(cloudformation): remove the stack policy test bucket after use

* fix(cloudformation): apply a stack policy with its stack operation

UpdateStack now stores its policy when the update commits, before UPDATE_COMPLETE is published, and CreateStack when execution starts. A policy-only update no longer leaves its change set FAILED. SetStackPolicy checks the stack state again under the stack lock after reading a StackPolicyURL.

* fix(cloudformation): apply a creation policy when the create is claimed

* fix(cloudformation): keep a rejected policy-only update executable

* fix(cloudformation): assign a stack policy when its change set is created

* test(cloudformation): stop the stack policy test's executor

* test(cloudformation): round-trip stack policies through persistent storage

* test(cloudformation): build the stack policy requests on CfnRequests

* test(cloudformation): construct CloudFormationService through one shared fixture

* fix(cloudformation): refuse a missing or malformed StackName in the stack policy actions

SetStackPolicy and GetStackPolicy looked a missing StackName up as the
stack named "null". Both now validate StackName first, as AWS does,
with the checks ContinueUpdateRollback already applies.
2026-11-05 04:43:20 -04:00
..