My Oracle Support Banner

Error: VCN Cannot Be Deleted Because There Are Associated Resources In One Or More Compartments (Doc ID 2380913.1)

Last updated on JUNE 05, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.

Symptoms

Attempts to remove the VCN fails as follows:


The VCN cannot be deleted because there are associated resources in one or more compartments that you do not have access to.
(IncorrectState - The Subnet ocid1.subnet..........123 references the VNIC ocid1.vnic.........234.
You must remove the reference to proceed with this operation.)




Changes

Cleaned up the full stack to remove obsolete objects.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.