Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: "sync-local-config" shortcut with ACA
Clémence Lesnéd9ed2850f517
diff --git a/Makefile b/Makefileindex dafbfa1..e95b5a1 100644--- a/Makefile+++ b/Makefile@@ -22,6 +22,7 @@ prompt_content_filter ?= true# Bicep outputsapp_url ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["appUrl"].value')blob_storage_public_name ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["blobStoragePublicName"].value')+container_app_name ?= $(shell az deployment sub show --name $(name_sanitized) | yq '.properties.outputs["containerAppName"].value')version:@bash ./cicd/version/version.sh -g . -c@@ -200,4 +201,12 @@ watch-call:sync-local-config:@echo "📥 Copying remote CONFIG_JSON to local config..."- az functionapp config appsettings list --name $(function_app_name) --resource-group $(name_sanitized) --query "[?name=='CONFIG_JSON'].value" --output tsv | yq --prettyPrint --output-format yaml > config.yaml+ az containerapp revision list \+ --name $(container_app_name) \+ --output tsv \+ --query "[0].properties.template.containers[0].env[?name=='CONFIG_JSON'].value" \+ --resource-group $(name_sanitized) \+ | yq \+ --output-format yaml \+ --prettyPrint \+ > config.yamldiff --git a/bicep/app.bicep b/bicep/app.bicepindex b284ad6..d274146 100644--- a/bicep/app.bicep+++ b/bicep/app.bicep@@ -117,6 +117,7 @@ var config = {output appUrl string = appUrloutput blobStoragePublicName string = storageAccount.name+output containerAppName string = containerApp.nameoutput logAnalyticsCustomerId string = logAnalytics.properties.customerIdresource logAnalytics 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {diff --git a/bicep/main.bicep b/bicep/main.bicepindex 2b686b8..b1aec3e 100644--- a/bicep/main.bicep+++ b/bicep/main.bicep@@ -24,6 +24,7 @@ targetScope = 'subscription'output appUrl string = app.outputs.appUrloutput blobStoragePublicName string = app.outputs.blobStoragePublicName+output containerAppName string = app.outputs.containerAppNameoutput logAnalyticsCustomerId string = app.outputs.logAnalyticsCustomerIdvar tags = {