accept terraform arguments in apply

This commit is contained in:
Jörg Thalheim 2024-04-08 07:28:50 +02:00
parent a98f719117
commit 88b47d6788
2 changed files with 2 additions and 3 deletions

View File

@ -4,5 +4,5 @@ set -euo pipefail
cd "$(dirname "$0")"
rm -f .terraform.lock.hcl
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
tofu apply
tofu apply "$@"

View File

@ -4,5 +4,4 @@ set -euo pipefail
cd "$(dirname "$0")"
rm -f .terraform.lock.hcl
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
tofu apply
tofu apply "$@"