Skip to content

Commit

Permalink
justfile: populate more Terraform variables
Browse files Browse the repository at this point in the history
We can derive the values for these variables from the values configured
in justfile.env.
  • Loading branch information
Freax13 committed Oct 15, 2024
1 parent f5ced24 commit 82f69b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ create platform=default_platform:
"AKS-PEER-SNP")
just upload-image
# Populate Terraform variables.
echo "name_prefix = \"$azure_resource_group\"" > infra/azure-peerpods/just.auto.tfvars
echo "image_resource_group_name = \"$azure_resource_group\"" >> infra/azure-peerpods/just.auto.tfvars
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
;;
Expand Down

0 comments on commit 82f69b5

Please sign in to comment.