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

Infrastructure: Remove Application Insights output and review dependencies

Đang mở
#18 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement infrastructure
Ngôn ngữ chính
Bicep
Star
30
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 🚨 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with infra/main.bicep and remove the specified Application Insights output, then inspect requirements.txt and the remaining template files for dependency versions and development-only configuration. Compare the repository with the referenced functions-quickstart-dotnet-azd PR; done means the output is absent, dependencies are reviewed, and hardcoded or development-only settings and secrets are not present.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure, python
Lĩnh vực
cloud, infrastructure
Loại issue
Tái cấu trúc
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.