Skip to content
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

Network resources (like subnet) fail to delete #2185

Open
BobyMCbobs opened this issue Sep 4, 2024 · 0 comments
Open

Network resources (like subnet) fail to delete #2185

BobyMCbobs opened this issue Sep 4, 2024 · 0 comments
Labels

Comments

@BobyMCbobs
Copy link

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

  1. terraform apply
  2. wait for completion
  3. terraform delete

References

wip: sharingio/infra#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant