diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-07-29 11:42:38 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-07-29 11:42:38 +0300 |
commit | 36437f18b1808909de55268baf894390af6c1701 (patch) | |
tree | 2a0098afff779a5dd20db7d4596469c72841aa8c | |
parent | 1a1445409ddb85cf0754caa32a284128642d2576 (diff) |
PgBouncer deployment with terraform
Terraform requires a new module to be installed: pgbouncer
In order to install all required modules automatically
the `terraform get` command added to main script.
The command installs all missed dependencies recursively.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2975
-rwxr-xr-x | _support/terraform/create-demo-cluster | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_support/terraform/create-demo-cluster b/_support/terraform/create-demo-cluster index 3f4ea6883..da352cb72 100755 --- a/_support/terraform/create-demo-cluster +++ b/_support/terraform/create-demo-cluster @@ -14,6 +14,8 @@ def main run!(%w[gcloud auth application-default login]) end + run!(%w[terraform get]) + unless terraform_initialized? run!(%w[terraform init]) end |