4343 - ' Local'
4444 default : ' codespace'
4545 azure_location :
46- description : ' Azure Location For Deployment '
46+ description : ' Azure Region (Non-AI Services) '
4747 required : false
4848 default : ' australiaeast'
4949 type : choice
5050 options :
5151 - ' australiaeast'
5252 - ' centralus'
5353 - ' eastasia'
54+ - ' eastus'
5455 - ' eastus2'
5556 - ' japaneast'
5657 - ' northeurope'
5758 - ' southeastasia'
5859 - ' uksouth'
60+ - ' westeurope'
61+ - ' westus3'
5962 resource_group_name :
6063 description : ' Resource Group Name (Optional)'
6164 required : false
6265 default : ' '
6366 type : string
67+ build_docker_image :
68+ description : ' Build & Use Custom Images (Optional)'
69+ required : false
70+ default : false
71+ type : boolean
6472
6573 waf_enabled :
66- description : ' Enable WAF'
74+ description : ' Deploy WAF'
6775 required : false
6876 default : false
6977 type : boolean
70- EXP :
71- description : ' Enable EXP '
78+ enable_scalability :
79+ description : ' Enable Scalability (WAF only) '
7280 required : false
7381 default : false
7482 type : boolean
75- build_docker_image :
76- description : ' Build And Push Docker Image (Optional) '
83+ EXP :
84+ description : ' Deploy EXP '
7785 required : false
7886 default : false
7987 type : boolean
80-
88+
8189 cleanup_resources :
82- description : ' Cleanup Deployed Resources '
90+ description : ' Auto Delete RG '
8391 required : false
8492 default : false
8593 type : boolean
86-
94+
8795 AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID :
88- description : ' Log Analytics Workspace Resource ID (Optional)'
96+ description : ' Existing Log Analytics Workspace Resource ID (Optional)'
8997 required : false
9098 default : ' '
9199 type : string
92100 AZURE_EXISTING_AIPROJECT_RESOURCE_ID :
93- description : ' Full Azure AI Project Resource ID (Optional, format: /subscriptions/.../resourceGroups/.../providers/... )'
101+ description : ' Existing AI Project Resource ID (Optional)'
94102 required : false
95103 default : ' '
96104 type : string
97105 existing_webapp_url :
98- description : ' Existing WebApp URL (Skips Deployment )'
106+ description : ' Run Tests Against Existing RG (Provide Web App URL )'
99107 required : false
100108 default : ' '
101109 type : string
@@ -109,6 +117,7 @@ jobs:
109117 azure_location : ${{ steps.validate.outputs.azure_location }}
110118 resource_group_name : ${{ steps.validate.outputs.resource_group_name }}
111119 waf_enabled : ${{ steps.validate.outputs.waf_enabled }}
120+ enable_scalability : ${{ steps.validate.outputs.enable_scalability }}
112121 exp : ${{ steps.validate.outputs.exp }}
113122 build_docker_image : ${{ steps.validate.outputs.build_docker_image }}
114123 cleanup_resources : ${{ steps.validate.outputs.cleanup_resources }}
@@ -124,6 +133,7 @@ jobs:
124133 INPUT_AZURE_LOCATION : ${{ github.event.inputs.azure_location }}
125134 INPUT_RESOURCE_GROUP_NAME : ${{ github.event.inputs.resource_group_name }}
126135 INPUT_WAF_ENABLED : ${{ github.event.inputs.waf_enabled }}
136+ INPUT_ENABLE_SCALABILITY : ${{ github.event.inputs.enable_scalability }}
127137 INPUT_EXP : ${{ github.event.inputs.EXP }}
128138 INPUT_BUILD_DOCKER_IMAGE : ${{ github.event.inputs.build_docker_image }}
129139 INPUT_CLEANUP_RESOURCES : ${{ github.event.inputs.cleanup_resources }}
@@ -181,6 +191,15 @@ jobs:
181191 else
182192 echo "✅ waf_enabled: '$WAF_ENABLED' is valid"
183193 fi
194+
195+ # Validate enable_scalability (boolean, opt-in, default false)
196+ ENABLE_SCALABILITY="${INPUT_ENABLE_SCALABILITY:-false}"
197+ if [[ "$ENABLE_SCALABILITY" != "true" && "$ENABLE_SCALABILITY" != "false" ]]; then
198+ echo "❌ ERROR: enable_scalability must be 'true' or 'false', got: '$ENABLE_SCALABILITY'"
199+ VALIDATION_FAILED=true
200+ else
201+ echo "✅ enable_scalability: '$ENABLE_SCALABILITY' is valid"
202+ fi
184203
185204 # Validate EXP (boolean)
186205 EXP_ENABLED="${INPUT_EXP:-false}"
@@ -265,6 +284,7 @@ jobs:
265284 echo "azure_location=$LOCATION" >> $GITHUB_OUTPUT
266285 echo "resource_group_name=$INPUT_RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
267286 echo "waf_enabled=$WAF_ENABLED" >> $GITHUB_OUTPUT
287+ echo "enable_scalability=$ENABLE_SCALABILITY" >> $GITHUB_OUTPUT
268288 echo "exp=$EXP_ENABLED" >> $GITHUB_OUTPUT
269289 echo "build_docker_image=$BUILD_DOCKER" >> $GITHUB_OUTPUT
270290 echo "cleanup_resources=$CLEANUP_RESOURCES" >> $GITHUB_OUTPUT
@@ -281,6 +301,7 @@ jobs:
281301 azure_location : ${{ needs.validate-inputs.outputs.azure_location || 'australiaeast' }}
282302 resource_group_name : ${{ needs.validate-inputs.outputs.resource_group_name || '' }}
283303 waf_enabled : ${{ needs.validate-inputs.outputs.waf_enabled == 'true' }}
304+ enable_scalability : ${{ needs.validate-inputs.outputs.enable_scalability == 'true' }}
284305 EXP : ${{ needs.validate-inputs.outputs.exp == 'true' }}
285306 build_docker_image : ${{ needs.validate-inputs.outputs.build_docker_image == 'true' }}
286307 cleanup_resources : ${{ needs.validate-inputs.outputs.cleanup_resources == 'true' }}
0 commit comments