Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit

Permalink
Merge pull request #1213 from dirkmueller/avoid_plugins_install
Browse files Browse the repository at this point in the history
Avoid pulling plugins from the Terraform online repositry
  • Loading branch information
dirkmueller authored Jul 6, 2020
2 parents c467d82 + 5d40e56 commit 7d49333
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/infra/testrunner/platforms/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def _provision_platform(self, masters=-1, workers=-1):
if self.conf.terraform.plugin_dir:
logger.info(f"Installing plugins from {self.conf.terraform.plugin_dir}")
init_cmd += f" -plugin-dir={self.conf.terraform.plugin_dir}"
else:
init_cmd += f" -get-plugins=false"
self._run_terraform_command(init_cmd)

self._run_terraform_command("version")
Expand Down

0 comments on commit 7d49333

Please sign in to comment.