-
Local development tools: [Git][uri-git], [Terraform][uri-terraform], a terminal.
-
Understanding of Oracle Cloud Infrastructure (OCI) and its services, in particular the Virtual Cloud Networking (VCN) service.
Follow the documentation for [generating and uploading your API keys][uri-oci-keys].
Note the key fingerprint.
Follow the documentation for [creating a compartment][uri-oci-compartment].
The following OCIDs are required:
-
Compartment OCID
-
Tenancy OCID
-
User OCID
Follow the documentation for [obtaining the tenancy and user OCIDs][uri-oci-ocids].
To obtain the compartment OCID:
-
Navigate to Identity > Compartments
-
Click on your Compartment
-
Locate OCID on the page and click on
Copy
-
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 `
[uri-oci-compartment]: https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#two [uri-oci-keys]: https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#two [uri-oci-ocids]: https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five
[uri-git]: https://git-scm.com/ [uri-terraform]: https://www.terraform.io