The Terraform OCI Base module for Oracle Cloud Infrastructure (OCI) provides a reusable Terraform module that provisions a minimal infrastructure on OCI.
It creates the following resources:
- A VCN, along with optional NAT, Internet and service gateways
- An optional bastion host
- An optional private admin host where privileged actions can be performed
The module can be reused to create more advanced infrastructure on OCI either manually in the OCI Console or by extending the Terraform code.
- Provisioning a basic infrastructure (Quickstart)
- Reusing as a Terraform module
- Enabling instance_principal
- Using ONS Notification
- Terraform Options
- Oracle Cloud Infrastructure Documentation
- Terraform OCI Provider Documentation
- Erik Berg on Networks, Subnets and CIDR
- Lisa Hagemann on Terraform cidrsubnet Deconstructed
View the CHANGELOG.
Code derived and adapted from Terraform OCI Examples and Hashicorp's Terraform 0.12 examples
Folks who contributed with explanations, code, feedback, ideas, testing etc.
Learn how to contribute.
== License
Copyright © 2019 Oracle and/or its associates. All rights reserved.
Licensed under the Universal Permissive License 1.0 as shown at https://oss.oracle.com/licenses/upl.