mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-02-21 12:51:47 +01:00
accept terraform arguments in apply
This commit is contained in:
parent
a98f719117
commit
88b47d6788
@ -4,5 +4,5 @@ set -euo pipefail
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
rm -f .terraform.lock.hcl
|
rm -f .terraform.lock.hcl
|
||||||
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
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")"
|
cd "$(dirname "$0")"
|
||||||
rm -f .terraform.lock.hcl
|
rm -f .terraform.lock.hcl
|
||||||
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
|
||||||
tofu apply
|
tofu apply "$@"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user