Closed sfozz closed 2 years ago
Hello!
A fix has been submitted in PR #76 and will be merged and released soon.
Terraform Orb 3.1.0 is live: https://github.com/CircleCI-Public/terraform-orb/releases/tag/v3.1.0 Please try the latest version of the orb and let us know what you think!
Version 4.0.0 progress will begin soon with improved support for Terraform cloud and some new sensible defaults.
Hi this hasn't fixed the issue... The check for the var file is still referencing the file path relative to the module path. If you have an absolute path then this fails
Orb Version 3.0.0
Describe the bug In 2.1.0 you can pass in a absolute path to a var-file. which was honoured by https://github.com/CircleCI-Public/terraform-orb/blob/ac023bd48a8b48ac47da5f20fbd34e4b856dd6bf/src/commands/plan.yml#L98 however in the move to 3.0.0 this check was removed
To Reproduce
Expected behavior
the
terraform/plan
command will run because the script passes the test to confirm that the file exists. And not fail with the following error