The Terraform Modules are providing ready to use modules for Terraform, containing all needed resources to provision a Kubernetes cluster on different cloud providers.
- Terraform 0.12+
Basic usage looks like this:
module "k8s" {
source = "git::https://github.com/kyma-incubator/terraform-modules//google_gke_infra?ref=v0.0.2"
name = "${var.cluster_name}"
project = "${var.project}"
region = "${var.region}"
}
For more details see the dedicated usage example of the specific provider related module.