Skip to content

Commit 69d4f15

Browse files
committed
Added missing variables
1 parent 4df0b70 commit 69d4f15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy-azure.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
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
@@ -94,6 +98,10 @@ jobs:
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)"

0 commit comments

Comments
 (0)