infobloxopen / terraform-provider-infoblox

Infoblox NIOS Terraform Provider
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
67 stars 77 forks source link

Deletion of Network Container Failing #241

Closed chetanns99 closed 4 months ago

chetanns99 commented 1 year ago

We are running into the issue are trying to delete a Network Container. We are seeing below exception.

Error: deletion of the network container failed: WAPi request error: 400('400 Bad Request') Contents: { "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:You have no permission to delete this object recursively)", "code": "Client.Ibap.Data.Conflict", "text": "You have no permission to delete this object recursively"
}

skudriavtsev commented 1 year ago

This message is from the NIOS server you are trying to manage resources at. The plugin cannot act properly if you have insufficient permissions given by an administrator.

Probably your case is about managing the same resources both by the Terraform plugin and by some other means? But this case is not supported at all and is almost guaranteed to be harmful at some point.

If you imported a TF resource with underlying objects on NIOS side which has dependent objects... Then you should import other resources/objects as well, otherwise you will not be able to fully manage the imported resource, in some cases.

JkhatriInfobox commented 4 months ago

As mentioned above comment it seems like a permission issue. Scenario is working in our test setup Hence closing the issue