Skip to content

Commit 88b47d6

Browse files
committed
accept terraform arguments in apply
1 parent a98f719 commit 88b47d6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

targets/admins/apply.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -euo pipefail
44
cd "$(dirname "$0")"
55
rm -f .terraform.lock.hcl
66
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
7-
tofu apply
7+
tofu apply "$@"
88

targets/nixos-wiki.nixos.org/apply.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ set -euo pipefail
44
cd "$(dirname "$0")"
55
rm -f .terraform.lock.hcl
66
tofu init -backend-config="password=$GITLAB_TOKEN" -backend-config="username=$GITLAB_USER"
7-
tofu apply
8-
7+
tofu apply "$@"

0 commit comments

Comments
 (0)