/terraform-oci-operator

A Terraform module that reuses an existing VCN and adds an operator host to it on OCI

Primary LanguageHCLUniversal Permissive License v1.0UPL-1.0

Terraform OCI Operator for Oracle Cloud Infrastructure

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:

  1. performing post-provisioning tasks with Terraform or other automation tools

  2. 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.

Documentation

Projects using this module

Changelog

View the CHANGELOG.

Acknowledgement

Code derived and adapted from Terraform OCI Examples and Hashicorp’s Terraform 0.12 examples

Contributors

Learn how to contribute.

License

Copyright(c) 2019,2020 Oracle and/or its associates. All rights reserved.