oracle-quickstart / oci-enterprise-scale-baseline-landing-zone

Baseline Landing Zone
Universal Permissive License v1.0
12 stars 19 forks source link

Landing Zones

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 Oracle Enterprise Landing Zone Version 2.

oci-enterprise-scale-baseline-landing-zone

This Terraform stack deploys a baseline landing zone.

Requirements

Prerequisites

Detailed project prerequisites are included in the following OCI CAF - Architecture Documentation

Usage

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.

Deploy Using Oracle Resource Manager

  1. Click to deploy the stack

Deploy to Oracle Cloud

If you aren't already signed in, when prompted, enter the tenancy and user credentials. Review and accept the terms and conditions.
  1. Select the region where you want to deploy the stack.

  2. Follow the on-screen prompts and instructions to create the stack.

  3. After creating the stack, click Terraform Actions, and select Plan.

  4. Wait for the job to be completed, and review the plan.

  5. To make any changes, return to the Stack Details page, click Edit Stack, and make the required changes. Then, run the Plan action again.

  6. If no further changes are necessary, return to the Stack Details page, click Terraform Actions, and select Apply.

Deploy Using the Terraform CLI

Prerequisites

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 Module

Clone the source code from suing the following command:

git clone ADD_URL_HERE
cd repository_name

Running Terraform

After specifying the required variables you can run the stack using the following command:

terraform init
terraform plan
terraform apply

Terraform Variables

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

Sandbox Mode

The sandbox mode is an alternate deployment method that can be used for development or demonstration purposes.

For more information follow this link.

The Team

This repository was developed by the Oracle OCI Regulatory Solutions and Automation (RSA) team.

How to Contribute

Interested in contributing? See our contribution guidelines for details.

License

This repository and its contents are licensed under UPL 1.0.