Skip to content

Infrastructure: Remove Application Insights output and review dependencies #18

Description

🚨 Infrastructure and Best Practices Updates - Propagation from functions-quickstart-dotnet-azd PR #18

This issue tracks infrastructure and best practices changes that need to be applied to maintain consistency across Azure Functions AZD templates, based on PR #18 merged on August 7, 2025.

Required Changes

1. 🏗️ Remove Application Insights from Bicep Outputs

Remove this line from infra/main.bicep:

// REMOVE this line
output APPLICATIONINSIGHTS_CONNECTION_STRING string = monitoring.outputs.name

2. 📦 Update Python Package Dependencies (if applicable)

Review and update Python dependencies in requirements.txt to their latest stable versions:

# Update these to latest versions as appropriate
azure-functions
azure-functions-worker

3. 🔍 Review for Development-Only Configuration

Ensure no development-specific configuration is included in template files:

  • Remove any hardcoded connection strings
  • Remove development-only environment variables
  • Ensure secrets are properly externalized

Impact

  • Security: Removes exposed configuration from template
  • Compatibility: Updates to latest stable versions
  • Consistency: Aligns with current best practices across all Azure Functions AZD templates

Reference

Related Language-Specific Templates

Similar infrastructure updates needed for all language variants:

  • TypeScript templates (4 repositories)
  • JavaScript templates (2 repositories)
  • PowerShell templates (2 repositories)
  • Java templates (1 repository)

/cc Thiago Almeida (@nzthiago)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions