The Terraform OCI Operator for Oracle Cloud Infrastructure (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 is 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)
It can be accessed either through a Bastion host (e.g. terraform-oci-bastion) or through the OCI Bastion service.
You can further use it as part of higher level Terraform modules.
View the CHANGELOG.
Code derived and adapted from Terraform OCI Examples and Hashicorp’s Terraform 0.12 examples
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.