Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform 0.13.0 support #191

Merged
merged 4 commits into from
Jan 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use 'version' instead of '--version' in helper.sh for 0.13.0 compatib…
…ility
  • Loading branch information
Bobonium committed Jun 23, 2020
commit 4db282f6964b2a8d6123096b472ee3015043e1be
2 changes: 1 addition & 1 deletion lib/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export -f check_active_version;
check_installed_version() {
local v="${1}";
local bin="${TFENV_ROOT}/versions/${v}/terraform";
[ -n "$(${bin} --version | grep -E "^Terraform v${v}((-dev)|( \([a-f0-9]+\)))?$")" ];
[ -n "$(${bin} version | grep -E "^Terraform v${v}((-dev)|( \([a-f0-9]+\)))?$")" ];
};
export -f check_installed_version;

Expand Down