- "minikube" need to be installed and run:
minikube start
- Clone this repository:
git clone https://github.com/lepskiy/kube-module-issue
- Got inside the folder:
cd kube-module-issue
- Run
terraform init
- Run
terraform plan
- Run
terraform apply
- Switch to "module" banch:
git checkout module
- Run
terraform init
- Run
terraform plan
Plan should be shown.
The error is shown: