File tree Expand file tree Collapse file tree 3 files changed +53
-2
lines changed
Expand file tree Collapse file tree 3 files changed +53
-2
lines changed Original file line number Diff line number Diff line change 11name : AZD Template Validation
2- on :
2+ on :
33 workflow_dispatch :
44
55permissions :
Original file line number Diff line number Diff line change @@ -6,3 +6,36 @@ metadata:
66
77requiredVersions :
88 azd : ' >=1.18.2'
9+
10+ hooks :
11+ postdeploy :
12+ posix :
13+ shell : sh
14+ run : |
15+ echo "-----"
16+ echo "🧭 Web App Details:"
17+ echo "✅ Name: $CONTAINER_WEB_APP_NAME"
18+ echo "🌐 Endpoint: https://$CONTAINER_WEB_APP_FQDN"
19+ echo "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$CONTAINER_WEB_APP_NAME"
20+ echo "-----"
21+ echo "🧭 API App Details:"
22+ echo "✅ Name: $CONTAINER_API_APP_NAME"
23+ echo "🌐 Endpoint: https://$CONTAINER_API_APP_FQDN"
24+ echo "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$CONTAINER_API_APP_NAME"
25+ echo "-----"
26+ interactive : true
27+ windows :
28+ shell : pwsh
29+ run : |
30+ Write-Host "-----"
31+ Write-Host "🧭 Web App Details:"
32+ Write-Host "✅ Name: $env:CONTAINER_WEB_APP_NAME"
33+ Write-Host "🌐 Endpoint: https://$env:CONTAINER_WEB_APP_FQDN"
34+ Write-Host "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$env:AZURE_SUBSCRIPTION_ID/resourceGroups/$env:AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$env:CONTAINER_WEB_APP_NAME" -ForegroundColor Cyan
35+ Write-Host "-----"
36+ Write-Host "🧭 API App Details:"
37+ Write-Host "✅ Name: $env:CONTAINER_API_APP_NAME"
38+ Write-Host "🌐 Endpoint: https://$env:CONTAINER_API_APP_FQDN"
39+ Write-Host "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$env:AZURE_SUBSCRIPTION_ID/resourceGroups/$env:AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$env:CONTAINER_API_APP_NAME" -ForegroundColor Cyan
40+ Write-Host "-----"
41+ interactive : true
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ param location string = resourceGroup().location
3636 }
3737})
3838@description ('Optional. Location for all AI service resources. This location can be different from the resource group location.' )
39- param aiDeploymentLocation string ?
39+ param aiDeploymentLocation string
4040
4141@description ('Optional. The host (excluding https://) of an existing container registry. This is the `loginServer` when using Azure Container Registry.' )
4242param containerRegistryHost string = 'containermigrationacr.azurecr.io'
@@ -612,3 +612,21 @@ module containerAppProcessor 'br/public:avm/res/app/container-app:0.18.1' = {
612612
613613@description ('The name of the resource group.' )
614614output resourceGroupName string = resourceGroup ().name
615+
616+ @description ('The name of the web app container app.' )
617+ output CONTAINER_WEB_APP_NAME string = containerAppFrontend .outputs .name
618+
619+ @description ('The FQDN of the web app container app.' )
620+ output CONTAINER_WEB_APP_FQDN string = containerAppFrontend .outputs .fqdn
621+
622+ @description ('The name of the API container app.' )
623+ output CONTAINER_API_APP_NAME string = containerAppBackend .outputs .name
624+
625+ @description ('The FQDN of the API container app.' )
626+ output CONTAINER_API_APP_FQDN string = containerAppBackend .outputs .fqdn
627+
628+ @description ('The Azure subscription ID.' )
629+ output AZURE_SUBSCRIPTION_ID string = subscription ().subscriptionId
630+
631+ @description ('The Azure resource group name.' )
632+ output AZURE_RESOURCE_GROUP string = resourceGroup ().name
You can’t perform that action at this time.
0 commit comments