You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group_settings: remove from state on 404 instead of erroring during read
When the underlying group is deleted outside Terraform, resourceGroupSettingsRead
returned the 404 as a fatal error, so plan/refresh failed and the resource was
never dropped from state — the only recovery was a manual `terraform state rm`.
Route the group Get 404 through handleNotFoundError (which does d.SetId("")),
matching the existing behavior of resource_group. Non-404 errors are unchanged.
Adds TestAccResourceGroupSettings_disappears covering out-of-band group deletion.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments