basic IAC example to test alustan project
- Can be run
locally
orin-cluster
For local setup
- Uncomment backend
config_path
and commentin_cluster_config
in root version.tf
terraform {
backend "kubernetes" {
secret_suffix = "state"
# config_path = "~/.kube/config"
in_cluster_config = true
}
}
- Set
incluster
variable tofalse
in variables.tf
./deploy.sh
to run locally