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
For this case, I'd recommend to use azapi_resource_action to update and delete this resource. But the problem is that azapi_resource_action could not monitor resource's changes made outside of Terraform.
I'm unable to remove a azapi managed Microsoft.Authorization/roleEligibilityScheduleRequests.
The docs confirm that. There is not DELETE action. Instead, an Update with request type
AdminRemove
needs to be sent.Thats what the azurerm provides does.
https://github.com/hashicorp/terraform-provider-azurerm/blob/6163a3659ea56095d66cfa19ec2edafc3899885e/internal/services/authorization/pim_eligible_role_assignment_resource.go#L589-L596
The text was updated successfully, but these errors were encountered: