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.
GPL-3.0 License
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
Use https://github.com/iits-consulting/otc-infrastructure-charts-template if you want to use ArgoCD (GitOps)
No requirements.
No providers.
No modules.
No resources.
No inputs.
No outputs.