From fdb595b7455b77f711c4c9a01ee2f8fe1b38b583 Mon Sep 17 00:00:00 2001 From: Carson Long Date: Thu, 4 May 2023 13:52:57 -0700 Subject: [PATCH] Update bbl-up task Runs `terraform init` if we're not deleting the terraform plugins, in order to make sure that all of the relevant plugins have been downloaded (at least for the architecture of the concourse container, likely linux). See https://github.com/cloudfoundry/bosh-bootloader/issues/560 for more info. --- bbl-up/task | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bbl-up/task b/bbl-up/task index 450fe90b..13ed55cc 100755 --- a/bbl-up/task +++ b/bbl-up/task @@ -124,6 +124,10 @@ function main() { if [[ "${DELETE_TERRAFORM_PLUGINS}" == "true" ]]; then rm -rf "terraform/.terraform" + else + pushd "terraform" + terraform init + popd fi popd }