Manage kops clusterSpec / instanceGroupSpec manifests through Terraform.
The goal is to just render TF resource Ids into kops templated manifests and push them into the kops state store
All cluster ops are still done through kops binary outside of terraform workflow
-
Download the compiled binary for Terraform 0.12 and Kops 1.18 from GitHub releases
-
Unzip/untar the archive
-
Move it into
$HOME/.terraform.d/plugins
:
$ curl -L https://github.com/compareasiagroup/terraform-provider-kops/releases/download/0.2.0/terraform-provider-kops_0.2.0_darwin_amd64.tgz | tar -xzf -
$ mkdir -p $HOME/.terraform.d/plugins
$ mv terraform-provider-kops $HOME/.terraform.d/plugins/terraform-provider-kops
- Create your Terraform configurations as normal, and run
terraform init
:
terraform init
See samples for examples of using this provider for creating and managing Kops clusters within your cloud provider of choice.
- Better diff detection