leverage
leverage copied to clipboard
Bug | File terraform.tfvars being ignored
Describe the Bug
In TBD scenarios, the file terraform.tfvars
is being ignored. On the other hand, files like *.auto.tfvars
are not being ignored.
In test with sample Terraform projects, running this:
docker run -it -v $(pwd):/wrk --workdir /wrk --rm binbash/leverage-toolbox:1.2.7-0.1.1-debian plan
...works ok.
Expected Behavior
The file terraform.tfvars
has to be read by leverage tf
commands.
Steps to Reproduce
Steps to reproduce the behavior: 0. Check the k8s-eks-demoapps nat gateway is not deployed
- Go to
le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps
- Run
echo "vpc_enable_nat_gateway = true" > ./terraform.tfvars
- Run
leverage tf plan
- The nat gateway creation does not take place
Screenshots
n/a
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- Leverage CLI: 1.9.1
- Leverage Toolbox: binbash/leverage-toolbox:1.2.7-0.1.1-debian
Additional Context
n/a