3131 - ' Local'
3232 default : ' codespace'
3333 azure_location :
34- description : ' Azure Location For Deployment '
34+ description : ' Azure Region (Non-AI Services) '
3535 required : false
3636 default : ' australiaeast'
3737 type : choice
4949 required : false
5050 default : ' '
5151 type : string
52+ build_docker_image :
53+ description : ' Build & Use Custom Images (Optional)'
54+ required : false
55+ default : false
56+ type : boolean
5257
5358 waf_enabled :
54- description : ' Enable WAF'
59+ description : ' Deploy WAF'
5560 required : false
5661 default : false
5762 type : boolean
5863 EXP :
59- description : ' Enable EXP'
64+ description : ' Deploy EXP'
6065 required : false
6166 default : false
6267 type : boolean
63- build_docker_image :
64- description : ' Build And Push Docker Image (Optional)'
68+
69+ enableScalability :
70+ description : ' Enable Scalability'
6571 required : false
6672 default : false
6773 type : boolean
6874
6975 cleanup_resources :
70- description : ' Cleanup Deployed Resources '
76+ description : ' Auto Delete RG '
7177 required : false
7278 default : false
7379 type : boolean
8389 - ' None'
8490
8591 AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID :
86- description : ' Log Analytics Workspace Resource ID (Optional)'
92+ description : ' Existing Log Analytics Workspace Resource ID (Optional)'
8793 required : false
8894 default : ' '
8995 type : string
9096 AZURE_EXISTING_AI_PROJECT_RESOURCE_ID :
91- description : ' AI Project Resource ID (Optional)'
97+ description : ' Existing AI Project Resource ID (Optional)'
9298 required : false
9399 default : ' '
94100 type : string
95101 existing_webapp_url :
96- description : ' Existing Container WebApp URL (Skips Deployment )'
102+ description : ' Run Tests Against Existing RG (Provide Web App URL )'
97103 required : false
98104 default : ' '
99105 type : string
@@ -113,6 +119,7 @@ jobs:
113119 azure_location : ${{ steps.validate.outputs.azure_location }}
114120 resource_group_name : ${{ steps.validate.outputs.resource_group_name }}
115121 waf_enabled : ${{ steps.validate.outputs.waf_enabled }}
122+ enable_scalability : ${{ steps.validate.outputs.enable_scalability }}
116123 exp : ${{ steps.validate.outputs.exp }}
117124 build_docker_image : ${{ steps.validate.outputs.build_docker_image }}
118125 cleanup_resources : ${{ steps.validate.outputs.cleanup_resources }}
@@ -128,6 +135,7 @@ jobs:
128135 INPUT_AZURE_LOCATION : ${{ github.event.inputs.azure_location }}
129136 INPUT_RESOURCE_GROUP_NAME : ${{ github.event.inputs.resource_group_name }}
130137 INPUT_WAF_ENABLED : ${{ github.event.inputs.waf_enabled }}
138+ INPUT_ENABLE_SCALABILITY : ${{ github.event.inputs.enableScalability }}
131139 INPUT_EXP : ${{ github.event.inputs.EXP }}
132140 INPUT_BUILD_DOCKER_IMAGE : ${{ github.event.inputs.build_docker_image }}
133141 INPUT_CLEANUP_RESOURCES : ${{ github.event.inputs.cleanup_resources }}
@@ -187,6 +195,18 @@ jobs:
187195 else
188196 echo "✅ waf_enabled: '$WAF_ENABLED' is valid"
189197 fi
198+
199+ # Validate enableScalability (boolean, WAF-only opt-in)
200+ ENABLE_SCALABILITY="${INPUT_ENABLE_SCALABILITY:-false}"
201+ if [[ "$ENABLE_SCALABILITY" != "true" && "$ENABLE_SCALABILITY" != "false" ]]; then
202+ echo "❌ ERROR: enableScalability must be 'true' or 'false', got: '$ENABLE_SCALABILITY'"
203+ VALIDATION_FAILED=true
204+ else
205+ echo "✅ enableScalability: '$ENABLE_SCALABILITY' is valid"
206+ if [[ "$ENABLE_SCALABILITY" == "true" && "$WAF_ENABLED" != "true" ]]; then
207+ echo "ℹ️ Note: enableScalability=true only applies when waf_enabled=true; it will be ignored for non-WAF deployments."
208+ fi
209+ fi
190210
191211 # Validate EXP (boolean)
192212 EXP_ENABLED="${INPUT_EXP:-false}"
@@ -280,6 +300,7 @@ jobs:
280300 echo "azure_location=$LOCATION" >> $GITHUB_OUTPUT
281301 echo "resource_group_name=$INPUT_RESOURCE_GROUP_NAME" >> $GITHUB_OUTPUT
282302 echo "waf_enabled=$WAF_ENABLED" >> $GITHUB_OUTPUT
303+ echo "enable_scalability=$ENABLE_SCALABILITY" >> $GITHUB_OUTPUT
283304 echo "exp=$EXP_ENABLED" >> $GITHUB_OUTPUT
284305 echo "build_docker_image=$BUILD_DOCKER" >> $GITHUB_OUTPUT
285306 echo "cleanup_resources=$CLEANUP_RESOURCES" >> $GITHUB_OUTPUT
@@ -297,6 +318,7 @@ jobs:
297318 azure_location : ${{ needs.validate-inputs.outputs.azure_location || 'australiaeast' }}
298319 resource_group_name : ${{ needs.validate-inputs.outputs.resource_group_name || '' }}
299320 waf_enabled : ${{ needs.validate-inputs.outputs.waf_enabled == 'true' }}
321+ enableScalability : ${{ needs.validate-inputs.outputs.enable_scalability == 'true' }}
300322 EXP : ${{ needs.validate-inputs.outputs.exp == 'true' }}
301323 build_docker_image : ${{ needs.validate-inputs.outputs.build_docker_image == 'true' }}
302324 cleanup_resources : ${{ needs.validate-inputs.outputs.cleanup_resources == 'true' }}
0 commit comments