Error: VCN Cannot Be Deleted Because There Are Associated Resources In One Or More Compartments
Last updated on MARCH 30, 2018
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.
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.)
Cleaned up the full stack to remove obsolete objects.
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 hundreds of Community platforms