This repository helps to create an OTC-based cloud-native infrastructure landscape with Kubernetes, load balancers, vpcs etc. With these modules, we provide you a rocket-start while you can still deep-dive into detailed configuration later.
Effective March 25, 2025, this repository will be deprecated and no longer maintained. To ensure you continue receiving the latest updates and support, please transition to using our dedicated Terraform module repositories, each maintained separately.
These are commonly usable Terraform Modules for the Open Telekom Cloud based on the
awesome Terraform OTC Provider.
These modules are developed by iits-consulting - your Cloud-Native Innovation Teams as a
Service!
For fully integrated examples please visit the Terratest Directory
You pick modules which you would like to use like this:
module "vpc" {
source = "registry.terraform.io/iits-consulting/project-factory/opentelekomcloud//modules/vpc"
version = "5.2.0"
name = "myproject-dev-vpc"
cidr_block = "192.168.0.0/16"
subnets = {
"myproject-dev-subnet" = cidrsubnet("192.168.0.0/16", 1, 0)
}
}
As a quick start we recommend using this template:
Then just adjust the set-env.sh and the showcase/dev/main.tf as you wish
There are some variables that occur on multiple modules. The ideas behind them are explained here.
Variable | Description | Example |
---|---|---|
context |
A human-readable name of the project | website , payments-service |
stage |
Name of the environment | dev , test , qa , prod |
The following modules are currently not working for Swiss OTC:
We recommend this kind of Terraform folder structure:
Set up a secure remote Terraform state
. Copy the backend output of that module to your settings.tf
file
No requirements.
No providers.
No modules.
No resources.
No inputs.
No outputs.
<<<<<<< HEAD
=======
9d63e9e (docs: deprecation warning)