Archived
Fix --no-strict Terraform opt-out behavior
This commit is contained in:
1 parent
4fcf388092
commit
524a9db758
1 file changed
+1
-1
@@ -273,10 +273,10 @@ validate_terraform() {
|
||||
if [[ -z "$TERRAFORM_PATH" ]]; then
|
||||
if (( STRICT_MODE == 1 )); then
|
||||
error "terraform not found in PATH (required in --strict mode)"
|
||||
bad=1
|
||||
else
|
||||
warn "terraform not found in PATH (allowed only because --no-strict was set)"
|
||||
fi
|
||||
bad=1
|
||||
return "$bad"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user