Skip to content

caerulescens/tofu-module-minikube

Repository files navigation

tofu-module-minikube

A tofu module for minikube.

Install

Name
minikube
tofu
tflint
terraform-docs
pre-commit

Usage

Configure:

cat <<EOF > terraform.tfvars
minikube_clusters = {
  "minikube": {
    "driver": "docker",
  }
}
EOF

Run:

tofu init
tofu plan
tofu apply

Test:

tofu test

Lint:

tflint --chdir .

Docs:

terraform-docs markdown --output-file README.tofu.md .

Check:

pre-commit run