Pre-requisites
- Local development tools: Git, Terraform, a terminal.
- Understanding of Oracle Cloud Infrastructure (OCI) and its services, in particular the Virtual Cloud Networking (VCN) service.
Generate and upload your OCI API keys
Follow the documentation for generating and uploading your API keys.
Note the key fingerprint.
Create an OCI compartment
Follow the documentation for creating a compartment.
Obtain the necessary OCIDs
The following OCIDs are required:
- Compartment OCID
- Tenancy OCID
- User OCID
Follow the documentation for obtaining the tenancy and user OCIDs.
To obtain the compartment OCID:
- Navigate to Identity > Compartments
- Click on your Compartment
- Locate OCID on the page and click on
Copy
Configuring Policies
-
Create a group (e.g. mygroup) and add a user to the group.
-
Create a policy:
Allow group mygroup to manage virtual-network-family in compartment id ocid1.compartment.oc1..aaa