When using the tf:wrapper command, the .tf directory gets created and configured. When I execute a Terraform command like mvn tf:init, the wrapper does seem to download an executable. But then there is an error that says the terraform executable is not executable.
To Reproduce
Steps to reproduce the behavior:
bootstrap the wrapper in a tf maven project by executing mvn tf:wrapper -DreleaseVer=0.14.8
execute mvn tf:init
fails to execute terraform command
Expected behavior
I would expect the wrapper to direct the terraform command to the terraform executable downloaded by the wrapper (and it does). I would also expect the terraform executable to be executable (which it isn't) and to execute the terraform command (which it doesn't).
Screenshots
Additional context
I thought this was fixed, but apparently not. BTW, this happens on the latest full release (v0.12) and on the latest pre-release versions (v0.13-20). I am on Mac OS Big Sur. But I also had this problem on the latest version of Amazon Linux 2.
Describe the bug
When using the
tf:wrapper
command, the .tf directory gets created and configured. When I execute a Terraform command likemvn tf:init
, the wrapper does seem to download an executable. But then there is an error that says the terraform executable is not executable.To Reproduce Steps to reproduce the behavior:
mvn tf:wrapper -DreleaseVer=0.14.8
mvn tf:init
Expected behavior I would expect the wrapper to direct the terraform command to the terraform executable downloaded by the wrapper (and it does). I would also expect the terraform executable to be executable (which it isn't) and to execute the terraform command (which it doesn't).
Screenshots
Additional context
I thought this was fixed, but apparently not. BTW, this happens on the latest full release (v0.12) and on the latest pre-release versions (v0.13-20). I am on Mac OS Big Sur. But I also had this problem on the latest version of Amazon Linux 2.