-
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
azurerm_subscription
- Fix error for subscription update
#21255
Conversation
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.
hi @ms-zhenhua
Thanks for this PR.
As mentioned previously, we intentionally avoid hard-coding the Resource IDs in this fashion, we have the New{Type}ID
methods which will return a ResourceID
type, which has the .ID()
method on it returning the expected string for this Resource ID.
As such can we update this to match the other resources in the Provider (and use the NewSubscriptionID
method rather than hard-coding this)?
Thanks!
Hi @tombuildsstuff, thank you for reviewing. I have updated the code. Kindly take another review. |
Manual Testing results:Create
Update
|
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.
Thanks @ms-zhenhua - Tested successfully and LGTM 👍
This functionality has been released in v3.52.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! |
fix #21241
Related PR: #18813