The sandbox mode can be used for development or demonstration purposes.
It adds a unique suffix for all the tenancy level resources which will allow multiple instances of the stack within the same tenancy.
Sandbox Mode limits the number of inputs by adding safe defaults. This includes:
- One workload
- Disabling Budgeting
- Disabling the Public Subnet
- Disabling the Shared Services Subnet
- Setting safe defaults for VCN and Subnet configuration
- Enabling the Cloud Guard
- Enabling the Vulnerability Scanning Service
- Disabling the IPSEC Tunnel
- Disabling the FastConnect Virtual Circuit
- Disabling the Bastion Service
- Setting the default of Advanced Logging Option (including Flow Logging and Audit Logging) to NONE. Users can enable either or both by changing the variable option.
- Terraform >= 1.0.6
An tfvars file is included and will be required for the implementation. All the variables are set to safe defaults.
The required inputs are:
- Enable Advance Logging: This option allows you to enable Audit Logging and/or VCN Flow Logs
-
From the home page of the OCI Console, under the Oracle Quickstarts, look for the "Deploy a baseline landing zone".
-
Review the deployment summary, and then select “Continue” to begin the deployment.
-
Enter the inputs and then select "Start deployment".
- If audit log bucket was provisioned, delete this bucket manually.
- If flow logs were provisioned, delete these logs manually.
- Go to the Stack Details page, then click Destroy.
- A pop-up confirmation dialog page will appear. Click Destroy again.
- Clean up leftover compartments in the OCI console.
Clone the source code from using the following command:
git clone ADD_URL_HERE
cd repository_name
Before running terraform apply, rename the file from example directory to
terraform.tfvars and save it in the outermost directory.
cp examples/terraform.tfvars.sandbox.example terraform.tfvars
Run the stack using the following commands:
terraform init
terraform plan
terraform apply
- If audit log buck was provisioned, delete this bucket manually.
- If flow logs were provisioned, delete these logs manually.
- Run the following commands to delete the stack:
terraform init
terraform destroy
- Wait for Terraform to finish destroying resources.
- Clean up leftover compartments in the OCI console.
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
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.