Cloud Foundation Library

What is the Library ?

The Cloud Foundation Library is a set of Terraform modules and complete deployment solutions that is designed to help you get started with using Terraform in an Infrastructure-as-Code environment on OCI.

The modules have been designed to work together so that solutions can be “assembled” rather than designed from scratch, and so provide a core framework based on best practice for your cloud estate.

In addition to the modules, the library also includes a set of complete deployment solutions. These act as examples that show how the modules can be used, but they are are also fully deployable solutions in their own right.

Solutions and Modules

Reuse

The modules are specifically designed for re-use - they can be used in any tenancy or environment. They are fully parameterized such that they can also be used as a “black-box” module without the necessity of understanding how the module works.

The deployment solutions are built using the modules, and are also built with re-use in mind and so are similarly deployable in any OCI tenancy. The solutions are for some of the most common deployment patterns.

Our hope is that these solutions and modules enable you to get started quickly with a core library of terraform that you can then enhance, customize and extend within your own cloud estate. Oracle partners are also free to use and re-distribute the solutions as they wish.

Integrated with the CIS OCI Landing Zone

The modules in the core library are focused on assembling and building “solutions”. Modules for building out an initial landing zone are provided by the CIS OCI Landing Zone. The two sets of modules can be used both separately or together, and some modules are shared between the two libraries.

Cloud Foundation Library and the CIS OCI Landing Zone

Distribution

The modules and solutions are distributed via Github as a complete set in a single git repository. We considered using the Terraform registry, but we decided to use Github as the modules are designed as a complete set of integrated modules which is easier to package as a single repository.

The modules are open-source under the Oracle Universal Permissive License which is certified by OSI as conformant with the Open Source Definition. Our intent is that you can copy and do whatever you wish with these modules and examples with the absolute minimum of restrictions.

The Cloud Foundation Library is under active development and new solutions and modules are added to the library every few weeks. We endeavor to maintain forward compatibility, but we don’t guarantee it.