-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
refactor: replacing usages of azure.ValidateResourceID
with more specific Resource ID Parsers
#21129
Conversation
…it_id`, `peer_virtual_network_gateway_id` and `local_network_gateway_id`
…public_ip_prefix_id`
… since this shouldn't be used
…`public_ip_prefix_id`
…n to not parse d.Get
…ResourceIDOrEmpty` as deprecated soon
8567bf2
to
a1c1381
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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! |
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. |
This PR works through the usages of
azure.ValidateResourceID
andazure.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 marksazure.ValidateResourceIDOrEmpty
as deprecated (today) and calls out that the methodsazure.ValidateResourceID
andsuppress.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.