feat: Allow specifying alternate Terraform entrypoints
Fixes #111
With this change, the default behavior of the script should remain identical. But it optionally allows you to set the TF_ENTRYPOINT
and TF_BINARY
environment variables.
The TF_ENTRYPOINT
defines what is executing workflow actions like apply
, plan
, and so on. This defaults to terraform
, but can be set to things like terragrunt
as well (assuming the user installs Terragrunt in the image).
The TF_BINARY
defines the actual Terraform binary to use (again, defaults to terraform
).