Skip to content

statecheck: Add new resource identity / state comparison checks #503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2025

Conversation

austinvalle
Copy link
Member

@austinvalle austinvalle commented May 13, 2025

This PR adds two new state checks that asserts that an identity AND state value at the given path(s) are exactly equal. This was originally a suggestion from the Azure team that are looking to simplify their testing assertions.

cc @stephybun

@austinvalle austinvalle added this to the v1.13.0 milestone May 13, 2025
@austinvalle austinvalle requested a review from a team as a code owner May 13, 2025 15:54
@austinvalle austinvalle force-pushed the av/add-statechecks-for-identity-comparison branch from 502243c to 70ce5f8 Compare May 14, 2025 13:25
@austinvalle austinvalle changed the title statecheck: Add ExpectIdentityValueMatchesState state check for resource identity statecheck: Add new resource identity / state comparison checks May 14, 2025
@austinvalle austinvalle force-pushed the av/add-statechecks-for-identity-comparison branch from 732e97e to c18dd89 Compare May 15, 2025 18:46
@austinvalle austinvalle merged commit 8b8c33a into main May 15, 2025
41 checks passed
@austinvalle austinvalle deleted the av/add-statechecks-for-identity-comparison branch May 15, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants