Skip to content

Latest commit

 

History

History
77 lines (62 loc) · 1.38 KB

README.md

File metadata and controls

77 lines (62 loc) · 1.38 KB

terragrunt-module-minikube

A terragrunt module for minikube.

Install

Name
docker
kubectl
minikube
tenv
pre-commit
pre-commit install

Usage

Configure:

cat <<EOF > ./live/dev/cluster/terraform.tfvars
minikube_clusters = {
  "minikube": {
    "ha": false
    "driver": "docker"
    "nodes": 3
    "cpus": 2
    "memory": "2048mb"
    "disk_size": "32768mb"
  }
}
EOF

Validate:

terragrunt validate-inputs --terragrunt-working-dir live/dev/cluster

Init:

terragrunt init --terragrunt-working-dir live/dev/cluster

Plan:

terragrunt plan --terragrunt-working-dir live/dev/cluster

Apply:

terragrunt apply --terragrunt-working-dir live/dev/cluster

Destroy:

terragrunt destroy --terragrunt-working-dir live/dev/cluster

Development

Validate:

terragrunt hclvalidate

Format:

terragrunt hclfmt

Check:

pre-commit run