-
Notifications
You must be signed in to change notification settings - Fork 278
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
Fix regression: writeback configuration should be omitted on creation #1070
Conversation
… instead of using the default value, unsetting onpremises_group_type should cause a ForceNew
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!
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 v2.37.1 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 had already applied this change to quite a few groups in 2.37.0, and I would like the groups not to be recreated as it would cause some extra work in fixing broken role assignments Is it possible to reset the onpremsies_group_type value to null without recreating the group, via Azure Powershell for instance? adding ignore_changes is an option, but I consider it suboptimal |
@audunsolemdal Unfortunately it doesn't seem to be possible to unset this field via Azure Portal or PowerShell. This is an API bug that will hopefully be fixed at some point, which will enable us to remove the conditional ForceNew enforcement for this property. In the meantime, the best workaround is to allow Terraform to recreate the group, or to use the |
Writeback configuration should be omitted on creation instead of using the default value, and unsetting
onpremises_group_type
should cause a ForceNewFixes: #1067