-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add flag to disable downloading tf for airgapped environments (#…
…2843) * Move terraform version listing into Terraform client * Add flag to disable Terraform downloads * Fallback to exact version matching if unable to list TF versions * Add new config option to documentation * Fix and update tests * Fix check-lint errors * Change option name * Remove obsolete commented code * Migrate version detection logic into terraform client * Improve consistency in new function signatures & log statements * Test requests before calling terraform-switch, to prevent unnecessary crashes * Fix broken tests * Silence gosec error * Close response body
- Loading branch information
1 parent
2c21358
commit faa027a
Showing
13 changed files
with
521 additions
and
154 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.