mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(tf): acme provider
This commit is contained in:
parent
89d63a4085
commit
31528db499
5 changed files with 79 additions and 5 deletions
|
|
@ -25,7 +25,11 @@
|
|||
'';
|
||||
nf-tf = pkgs.writeShellScriptBin "nf-tf" ''
|
||||
cd "$NF_CONFIG_ROOT/tf"
|
||||
exec nix run ''${FLAKE_OPTS-} "$NF_CONFIG_ROOT#terraform" -- "$@"
|
||||
if [[ $# -eq 0 ]]; then
|
||||
exec nix shell ''${FLAKE_OPTS-} "$NF_CONFIG_ROOT#terraform" -c bash -c "terraform init && terraform plan"
|
||||
else
|
||||
exec nix run ''${FLAKE_OPTS-} "$NF_CONFIG_ROOT#terraform" -- "$@"
|
||||
fi
|
||||
'';
|
||||
nf-lint-tf = pkgs.writeShellScriptBin "nf-lint-tf" ''
|
||||
cd "$NF_CONFIG_ROOT/tf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue