Skip to content

KopiCloud/terraform-oci-network

Repository files navigation

Getting Started with Terraform and OCI (Oracle Cloud) Part 1: Creating Network Resources

Terraform

Blog --> https://gmusumeci.medium.com/getting-started-with-terraform-and-oci-oracle-cloud-part-1-creating-network-resources-800eb404c628

This code:

  • Define the OCI Provider for Terraform
  • Create a compartment
  • Create a Virtual Cloud Network (VCN)
  • Create Private and Public Subnets
  • Deploy an Internet Gateway
  • Deploy a NAT Gateway
  • Create Route Tables
  • Create DHCP Options

How To deploy the code:

  1. Clone the repo
  2. Update the terraform.tfvars with the variables for your environment
  3. Execute terraform init
  4. Execute terraform apply

To destroy the environment, execute terraform destroy

About

How to configure the network on OCI using Terraform

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages