terraform-provider-rancher2 icon indicating copy to clipboard operation
terraform-provider-rancher2 copied to clipboard

Add retry on conflict when deleting custom roles

Open mouellet opened this issue 3 years ago • 0 comments

This PR adds a Retry on deletion with retryable error on IsConflict API error, the provider will error after delete timeout.

When deleting custom roles that inherit other custom roles, you can sometimes get an 409 API error even if terraform deletes the hierarchy properly (childs are deleted before parents).

mouellet avatar Feb 17 '22 11:02 mouellet