Skip to content

feat: Allow specifying alternate Terraform entrypoints

Jon McKenzie requested to merge jcmcken/terraform-images:alt-entrypoints into master

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).

Merge request reports