Skip to content

Commit

Permalink
just: run terraform non-interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
jmxnzo committed Nov 12, 2024
1 parent 579e51f commit e548b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ create platform=default_platform:
echo "subscription_id = \"$azure_subscription_id\"" >> infra/azure-peerpods/just.auto.tfvars
nix run -L .#terraform -- -chdir=infra/azure-peerpods init
nix run -L .#terraform -- -chdir=infra/azure-peerpods apply
nix run -L .#terraform -- -chdir=infra/azure-peerpods apply -auto-approve
;;
*)
echo "Unsupported platform: {{ platform }}"
Expand Down Expand Up @@ -324,7 +324,7 @@ destroy platform=default_platform:
:
;;
"AKS-PEER-SNP")
nix run -L .#terraform -- -chdir=infra/azure-peerpods destroy
nix run -L .#terraform -- -chdir=infra/azure-peerpods destroy -auto-approve
# Clean-up cached image ids.
rm -f ${CONTRAST_CACHE_DIR}/image-upload/*.image-id
Expand Down

0 comments on commit e548b40

Please sign in to comment.