Skip to content
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

refactor: replacing usages of azure.ValidateResourceID with more specific Resource ID Parsers #21129

Conversation

tombuildsstuff
Copy link
Contributor

This PR works through the usages of azure.ValidateResourceID and azure.ValidateResourceIDOrEmpty and replaces these usages with the Resource ID parser we're expecting, where possible.

This PR also then removes some superfluous usages of suppress.CaseDifference - it also marks azure.ValidateResourceIDOrEmpty as deprecated (today) and calls out that the methods azure.ValidateResourceID and suppress.CaseDifference will both be deprecated in the future.

I've intentionally split each change out into it's own commit, since this'll help with the changelog entries.

@tombuildsstuff tombuildsstuff force-pushed the refactor/gradually-deprecating-suppress-case-diff-and-validate-resource-id branch from 8567bf2 to a1c1381 Compare March 27, 2023 11:09
Copy link
Contributor

@manicminer manicminer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tombuildsstuff tombuildsstuff merged commit 1e98f07 into main Mar 27, 2023
@tombuildsstuff tombuildsstuff deleted the refactor/gradually-deprecating-suppress-case-diff-and-validate-resource-id branch March 27, 2023 15:54
tombuildsstuff added a commit that referenced this pull request Mar 27, 2023
@github-actions
Copy link

This functionality has been released in v3.50.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

github-actions bot commented May 1, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.