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 16, 2024
1 parent b596ac1 commit d620796
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 @@ -189,6 +189,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 d620796

Please sign in to comment.