1
0
mirror of https://github.com/Mic92/nixos-wiki-infra.git synced 2025-07-05 17:10:10 +02:00

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
targets
admins
nixos-wiki.nixos.org

@ -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 "$@"

@ -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 "$@"