-
Notifications
You must be signed in to change notification settings - Fork 686
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
Deleting identity domain fails #1781
Comments
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you. |
The domain details passed in DELETE API do not exists. Can you please retry with correct details. |
@rakeshnikam13 I removed the ocid of the domain in the logs for privacy reasons. As stated in the issue, the reason the delete is failing is because the provider does not deactivate the domain first before deleting, which causes it to fail. This is fixed in my PR #1782 |
@F21 Thanks for fixing the issue. Can we close this ticket? |
@rakeshnikam13 PR #1782 is still open and has not been merged. Maybe we should close this issue after that's been merged? |
Any update on this ? |
This still seems to be an issue. Any update on when this issue will be addressed? |
Community Note
Terraform Version and Provider Version
Terraform v1.3.9
on linux_amd64
Affected Resource(s)
oci_identity_domain
Terraform Configuration Files
Debug Output
Panic Output
None
Expected Behavior
Destroying an identity domain should work properly.
Actual Behavior
Destroying an identity domain returns the following error:
Error: 412-PreConditionFailed, Cannot perform DELETE_DOMAIN operation on Domain with Status CREATED
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
None
References
API Docs: https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Domain/DeleteDomain
The text was updated successfully, but these errors were encountered: