Skip to content

Azure Deployment — Free Tier is broken! #2281

Open
@solrac149

Description

Free Tier is broken

Issue
The origin/main branch fails to deploy, last tested on commit a967edf. No change to any files. Deploying to a personal Azure account with no custom configurations, no other deployments or apps. That is, attempting to deploy an unmodified, factory version of this project to a barebones personal Azure account

Environment Setup
The following commands were run to set the free tier:

azd auth login
azd env new

azd env set AZURE_APP_SERVICE_SKU F1
azd env set AZURE_SEARCH_SERVICE_SKU free
azd env set AZURE_DOCUMENTINTELLIGENCE_SKU F0
azd env set USE_LOCAL_PDF_PARSER true
azd env set USE_LOCAL_HTML_PARSER true
azd env set AZURE_COSMOSDB_SKU free
azd env set AZURE_USE_APPLICATION_INSIGHTS false
azd env set USE_VECTORS false

azd up

PROBLEM TRIGGER
The line azd env set AZURE_USE_APPLICATION_INSIGHTS false is what causes the failed deployment. By removing this environment variable, the application deploys successfully.

ERROR OUTPUT

Deployment template validation failed: 'The template resource 'test-aca-env' at line '1' and column '14704' is not valid: The language expression property array index '2' is out of bounds. Please see https://aka.ms/arm-functions for usage details” 

TemplateViolation 
LineNumber: 1 
linePosition: 14704 
path: properties.template.resources.managedEnvironment

EXPECTED BEHAVIOR / SOLUTION
It should be possible to disable Application Insights, an optional, paid monitoring product, and deploy the fully zero-cost configuration of the demo.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions