File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 7070 ### 1) Resource-group (special-case test) ###############
7171 if az group exists --name "$RG_NAME" | grep -q true; then
7272 terraform -chdir="$TF_DIR" import -no-color -input=false \
73+ -var="subscription_id=${{ env.ARM_SUBSCRIPTION_ID }}" \
74+ -var="location=germanywestcentral" \
75+ -var="environment=${{ env.ENVIRONMENT }}" \
76+ -var="node_vm_size=${{ env.NODE_VM_SIZE }}" \
7377 azurerm_resource_group.this \
7478 "/subscriptions/${ARM_SUBSCRIPTION_ID}/resourceGroups/${RG_NAME}"
7579 else
9498 if az resource show --ids "$AZ_ID" --query "id" -o tsv &>/dev/null; then
9599 echo "Importing $TF_ADDR"
96100 terraform -chdir="$TF_DIR" import -no-color -input=false \
101+ -var="subscription_id=${{ env.ARM_SUBSCRIPTION_ID }}" \
102+ -var="location=germanywestcentral" \
103+ -var="environment=${{ env.ENVIRONMENT }}" \
104+ -var="node_vm_size=${{ env.NODE_VM_SIZE }}" \
97105 "$TF_ADDR" "$AZ_ID"
98106 else
99107 echo "Azure object not found → $AZ_ID (skipping)"
You can’t perform that action at this time.
0 commit comments