-
Notifications
You must be signed in to change notification settings - Fork 709
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 apply
terraform destroy
Important Factoids
None
References
API Docs: https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Domain/DeleteDomain
thpham and aaker
Metadata
Metadata
Assignees
Labels
In-ProgressTerraform Team is working on the reproduce & fixTerraform Team is working on the reproduce & fixbug