A terragrunt
module for minikube
.
Name |
---|
docker |
kubectl |
minikube |
tenv |
pre-commit |
pre-commit install
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
Validate:
terragrunt hclvalidate
Format:
terragrunt hclfmt
Check:
pre-commit run