Azure-Samples / Azure-Samples/functions-quickstart-python-http-azd

Infrastructure: Remove Application Insights output and review dependencies

未關閉
#18 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement infrastructure
主要語言
Bicep
星號
30
分支
30
PR 合併指標
30 天內沒有已合併 PR

描述

## 🚨 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](https://github.com/Azure-Samples/functions-quickstart-dotnet-azd/pull/18) merged on August 7, 2025.

### Required Changes

#### 1. 🏗️ Remove Application Insights from Bicep Outputs
Remove this line from `infra/main.bicep`:

```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:

```txt
# 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
- **Source PR:** https://github.com/Azure-Samples/functions-quickstart-dotnet-azd/pull/18
- **Author:** @nzthiago
- **Scope:** Part of batch propagation across 19 Azure Functions AZD templates

### 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 @nzthiago

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。