-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Labels
In-ProgressTerraform Team is working on the reproduce & fixTerraform Team is working on the reproduce & fixbug
Description
Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version and Provider Version
Terraform v1.3.9
on linux_amd64
- provider registry.terraform.io/hashicorp/oci v4.109.0
Affected Resource(s)
oci_identity_domain
Terraform Configuration Files
resource "oci_identity_domain" "test" {
compartment_id = oci_identity_compartment.my_compartment.id
description = "test"
display_name = "test"
home_region = "ap-melbourne-1"
license_type = "free"
}Debug Output
oci_identity_domain.secrets: Destroying... [id=ocid1.domain.oc1..aaaaaaasnipped]
β·
β Error: 412-PreConditionFailed, Cannot perform DELETE_DOMAIN operation on Domain with Status CREATED
β Suggestion: Please retry or contact support for help with service: Identity Domain
β Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_domain
β API Reference: https://docs.oracle.com/iaas/api/#/en/identity/20160918/Domain/DeleteDomain
β Request Target: DELETE https://identity.ap-melbourne-1.oci.oraclecloud.com/20160918/domains/ocid1.domain.oc1..aaaaaaaasnipped
β Provider version: 4.108.1, released on 2023-02-21.
β Service: Identity Domain
β Operation Name: DeleteDomain
β OPC request ID: cd1cb3dc0ea24fd56d88fb4c23fd8215/F2snipped
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 applyterraform destroy
Important Factoids
None
References
API Docs: https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Domain/DeleteDomain
thpham, aaker, sthilaire and dawidl022
Metadata
Metadata
Assignees
Labels
In-ProgressTerraform Team is working on the reproduce & fixTerraform Team is working on the reproduce & fixbug