Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: AZD Template Validation
on:
on:
workflow_dispatch:

permissions:
Expand Down
33 changes: 33 additions & 0 deletions azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,36 @@ metadata:

requiredVersions:
azd: '>=1.18.2'

hooks:
postdeploy:
posix:
shell: sh
run: |
echo "-----"
echo "🧭 Web App Details:"
echo "✅ Name: $CONTAINER_WEB_APP_NAME"
echo "🌐 Endpoint: https://$CONTAINER_WEB_APP_FQDN"
echo "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$CONTAINER_WEB_APP_NAME"
echo "-----"
echo "🧭 API App Details:"
echo "✅ Name: $CONTAINER_API_APP_NAME"
echo "🌐 Endpoint: https://$CONTAINER_API_APP_FQDN"
echo "🔗 Portal URL: https://portal.azure.com/#resource/subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$AZURE_RESOURCE_GROUP/providers/Microsoft.App/containerApps/$CONTAINER_API_APP_NAME"
echo "-----"
interactive: true
windows:
shell: pwsh
run: |
Write-Host "-----"
Write-Host "🧭 Web App Details:"
Write-Host "✅ Name: $env:CONTAINER_WEB_APP_NAME"
Write-Host "🌐 Endpoint: https://$env:CONTAINER_WEB_APP_FQDN"
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
Write-Host "-----"
Write-Host "🧭 API App Details:"
Write-Host "✅ Name: $env:CONTAINER_API_APP_NAME"
Write-Host "🌐 Endpoint: https://$env:CONTAINER_API_APP_FQDN"
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
Write-Host "-----"
interactive: true
20 changes: 19 additions & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ param location string = resourceGroup().location
}
})
@description('Optional. Location for all AI service resources. This location can be different from the resource group location.')
param aiDeploymentLocation string?
param aiDeploymentLocation string

@description('Optional. The host (excluding https://) of an existing container registry. This is the `loginServer` when using Azure Container Registry.')
param containerRegistryHost string = 'containermigrationacr.azurecr.io'
Expand Down Expand Up @@ -612,3 +612,21 @@ module containerAppProcessor 'br/public:avm/res/app/container-app:0.18.1' = {

@description('The name of the resource group.')
output resourceGroupName string = resourceGroup().name

@description('The name of the web app container app.')
output CONTAINER_WEB_APP_NAME string = containerAppFrontend.outputs.name

@description('The FQDN of the web app container app.')
output CONTAINER_WEB_APP_FQDN string = containerAppFrontend.outputs.fqdn

@description('The name of the API container app.')
output CONTAINER_API_APP_NAME string = containerAppBackend.outputs.name

@description('The FQDN of the API container app.')
output CONTAINER_API_APP_FQDN string = containerAppBackend.outputs.fqdn

@description('The Azure subscription ID.')
output AZURE_SUBSCRIPTION_ID string = subscription().subscriptionId

@description('The Azure resource group name.')
output AZURE_RESOURCE_GROUP string = resourceGroup().name
Loading