The Terraform OCI Operator for [Oracle Cloud Infrastructure] (OCI)oci provides a Terraform module that reuses an existing VCN and adds a compute instance to it.
It creates the following resources:
- A private subnet
- An NSG that allows access only through a bastion host
- A compute instance:
- accessible through the OCI Bastion Service
- with optional instance_principal access
- An optional notification via email
This module is meant to be reusable and to be embedded in your terraform modules. The operator instance can be used for:
- performing post-provisioning tasks with Terraform or other automation tools
- provide administrators access without the need to upload api authentication keys (instance_principal)
You can further use it as part of higher level Terraform modules.
- 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.
Copyright (c) 2019, 2020 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.