AWS CloudFormation contract tests v2 for resource types
🔧 AWS CloudFormation now supports contract tests v2 via the --v2 flag on the cfn test command in the CloudFormation CLI. The new suite expands beyond basic CRUD checks to exercise resource type implementations across every handler operation, with live-state verification after create, update, and delete. New resource types can run these tests during registry submission, and Java-based resource types can run them locally with Docker and a built handler package. Additional checks include schema backward-compatibility, input linting, and detailed HTML and JUnit XML reports to reduce iteration cycles.
