azure.yaml (24 lines of code) (raw):
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: ai-document-processor
infra:
bicep:
file: ./infra/main.bicep
services:
web:
host: staticwebapp
resourceName: ${STATIC_WEB_APP_NAME}
project: ./frontend
language: js
processing:
project: ./pipeline
language: python
host: function
backend:
project: ./web-backend
language: python
host: function
hooks:
postprovision:
posix:
run: scripts/postprovision.sh
windows:
run: scripts/postprovision.ps1