mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 13:36:51 +02:00
d6e6853b0029f5580a7cb21703e6b0f59b86233c
Terraform
This repo contains the representation of all infrastructure on Hetzner.
Modules
It contains modules for a domain (not really working), a k8s cluster with MicroK8s on Hetzner, and a Docker swarm cluster.
The k8s-cluster module supports single and multi-node MicroK8s clusters. So far, a single node cluster has been successfully created.
More information about the Docker cluster module can be found here.
Technical notes
The element function is used not by accident. It allows iterating over a list multiple times with an index higher than the length of the list. IDEs may suggest using index access instead, but this will not work.
Languages
HCL
92.6%
Shell
5.9%
Python
1.5%