Contract tests v2 expand beyond basic CRUD scenarios to validate resource state consistency after all lifecycle operations, detect schema compatibility issues, and flag problematic test inputs. Detailed reports facilitate faster issue identification during resource development.
The new tests can be run locally or during registry submission, supporting Java-based and new resource types, thereby enhancing resource type quality assurance and reducing iteration cycles. Vendor documentation provides guidance, though independent validation of efficacy is lacking.
Source & further reading
AWS CloudFormation now supports contract tests v2 for resource types ↗Source published 2026-09-02. This report was prepared with AI assistance from the linked primary-source material. Claims and limitations should be checked against the original announcement or research.