-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add custom arch support w/ env var
We've recently added a darwin_arm64 build to terraform-demux, but that can cause issues in Terraform workspaces that require older versions of Terraform - depending on the version, some don't have darwin_arm64 builds, and even the ones that do may use Terraform providers that don't have darwin_arm64 builds. In either case, the user is unable to run terraform-demux as-is, and is forced to install the amd64 version. This commit allows the user to override the architecture by specifying an environment variable, and updates the README to match. It is expected that users will set up the recommended shell alias and invoke the amd64 version of terraform when necessary, but otherwise use the native arm64 builds.
- Loading branch information
1 parent
9a1b0f2
commit 2fe4634
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters