Welcome to the OCI Landing Zones (OLZ) Community! OCI Landing Zones simplify onboarding and running on OCI by providing design guidance, best practices, and pre-configured Terraform deployment templates for various architectures and use cases. These enable customers to easily provision a secure tenancy foundation in the cloud along with all required services, and reliably scale as workloads expand.
This repository is archived in favor of the current release available from the OCI Landing Zones GitHub Organization. Please use OCI Core Landing Zone.
This Terraform stack deploys a baseline landing zone.
- Terraform >= 1.0.0
Detailed project prerequisites are included in the following OCI CAF - Architecture Documentation
An example tfvars file is included for reference. This file is arranged according to category a particular variable belongs to. Not all the variables in this file are required.
- Click to deploy the stack
If you aren't already signed in, when prompted, enter the tenancy and user credentials. Review and accept the terms and conditions.
-
Select the region where you want to deploy the stack.
-
Follow the on-screen prompts and instructions to create the stack.
-
After creating the stack, click Terraform Actions, and select Plan.
-
Wait for the job to be completed, and review the plan.
-
To make any changes, return to the Stack Details page, click Edit Stack, and make the required changes. Then, run the Plan action again.
-
If no further changes are necessary, return to the Stack Details page, click Terraform Actions, and select Apply.
Create a terraform.tfvars file and populate with the required variables or override existing variables.
Note: An example tfvars file is included for reference. Using this file is the preferred way to run the stack from the CLI, because of the large number of variables to manage.
To use this file just copy the example tfvars file and save it in the outermost directory. Next, rename the file to terraform.tfvars. You can override the example values set in this file.
Clone the source code from suing the following command:
git clone ADD_URL_HERE
cd repository_name
After specifying the required variables you can run the stack using the following command:
terraform init
terraform plan
terraform apply
A complete listing of the Terraform variables used in this stack are referenced here. This document is automatically generated using the terraform-docs with the following command:
terraform-docs markdown table --sort-by required --show inputs --show outputs . > VARIABLES.md
The sandbox mode is an alternate deployment method that can be used for development or demonstration purposes.
For more information follow this link.
This repository was developed by the Oracle OCI Regulatory Solutions and Automation (RSA) team.
Interested in contributing? See our contribution guidelines for details.
This repository and its contents are licensed under UPL 1.0.