Skip to content

Commit

Permalink
Update bbl-up task
Browse files Browse the repository at this point in the history
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 cloudfoundry/bosh-bootloader#560 for more
info.
  • Loading branch information
ctlong committed May 5, 2023
1 parent 10e0451 commit f277e0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bbl-up/task
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ function main() {

if [[ "${DELETE_TERRAFORM_PLUGINS}" == "true" ]]; then
rm -rf "terraform/.terraform"
else
pushd "terraform"
terraform init
popd
fi
popd
}
Expand Down

0 comments on commit f277e0b

Please sign in to comment.