-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Labels
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
Affected Resource(s)
- oci_core_internet_gateway
- oci_core_route_table
- oci_core_security_list
- oci_core_subnet
- oci_core_vcn
Terraform Configuration Files
https://github.com/sharingio/infra/pull/3/files
Debug Output
2024-09-05T11:23:13.383+1200 [DEBUG] provider.terraform-provider-oci_v6.7.0: {
2024-09-05T11:23:13.383+1200 [DEBUG] provider.terraform-provider-oci_v6.7.0: "code" : "Conflict",
2024-09-05T11:23:13.383+1200 [DEBUG] provider.terraform-provider-oci_v6.7.0: "message" : "The Subnet ocid1.subnet.oc1.us-sanjose-1.aaaaaaaa6rl5mazewi4auq6nkk5wtih46ei7iphxvaamd3wrfgwcg73jxyea references the service VNIC ocid1.vnic.oc1.us-sanjose-1.abzwuljrfbvcrycpco53w73cnxvivllln3lnpsqdvc3dxoa2jr6keahusuta. You must remove the reference to proceed with this operation."
2024-09-05T11:23:13.383+1200 [DEBUG] provider.terraform-provider-oci_v6.7.0: }
Expected Behavior
Resources should all cleanly destroyed in order of reverse dependency (subnet depends on VCN)
Actual Behavior
Destroy is stuck on deleting subnets indefinitely.
Steps to Reproduce
terraform apply- wait for completion
terraform delete
References
wip: sharingio/infra#3
ruairinewman and savva-morozov