You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Suggestion: Either the resource has been deleted or service CoreVcn need policy to access this resou

Received Response
edited Feb 26, 2021 7:56PM in Oracle Cloud Infrastructure - General 13 comments


When I try to create a oci_core_vcn for an existing oci_identity_compartment with terraform I get this error.



I have started with terraform and OCI on my Alway Free Tier account and tried following blogs from Tim Hall:

  1. Terraform : Installation -> successful
  2. Terraform : Oracle Cloud Infrastructure (OCI) Provider -> successful
  3. Terraform : Oracle Cloud Infrastructure (OCI) Compartment -> successful
  4. Terraform : Oracle Cloud Infrastructure (OCI) Virtual Cloud Network (VCN) -> here I get the error from the title

The message does not show, which resource is meant, I assume the compartment. I have double checked the OCID I have used.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!