Skip to content

Remove Application Insights connection string output from infrastructure template #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 10, 2025

This PR applies the same infrastructure best practices changes from PR #18 in functions-quickstart-dotnet-azd to align this Python template with current Azure Functions deployment standards.

Changes Made

Infrastructure Updates

  • Removed APPLICATIONINSIGHTS_CONNECTION_STRING output from infra/main.bicep
    • This output is no longer needed as Application Insights connection is now handled internally through managed identity authentication
    • Aligns with security best practices by reducing exposed connection strings

Analysis of Other PR #18 Changes

After reviewing the .NET repository changes, the following were determined to be not applicable to this Python repository:

  • Package Updates: The current azure-functions package without version pinning in requirements.txt is the recommended approach for Azure Functions Python apps, allowing the runtime to manage compatibility
  • User Secrets Removal: No Python equivalent of .NET's UserSecretsId configuration exists in this repository

Benefits

  • Improves security posture by removing unnecessary connection string outputs
  • Aligns with current Azure Functions deployment best practices
  • Maintains consistency across Azure Functions quickstart templates

This change brings the Python template in line with the .NET template's infrastructure improvements while respecting the differences in Python vs .NET Azure Functions development patterns.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: bicep build main.bicep (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot Copilot AI changed the title [WIP] Remove App Insights from output, update package refs Remove Application Insights connection string output from infrastructure template Aug 10, 2025
@Copilot Copilot AI requested a review from paulyuk August 10, 2025 21:26
Copilot finished work on behalf of paulyuk August 10, 2025 21:26
@paulyuk paulyuk marked this pull request as ready for review August 10, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants