AZ-400 M05L12 Lab Deployment Failures: Outdated Bicep/ARM Templates (Public IP and Storage Account v1)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 73/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- azure
- Lĩnh vực
- cloud, infrastructure
Hướng nghiên cứu
Bắt đầu với infra/simple-windows-vm.bicep và lần theo template được liên kết đến tài nguyên tài khoản lưu trữ. Kiểm tra cài đặt phân bổ Public IP và loại tài khoản lưu trữ dựa trên các lỗi trong issue, sau đó chạy triển khai lab và Bicep linter. Hoàn tất khi triển khai thành công và cảnh báo về tham số không được sử dụng đã được xóa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
The infrastructure deployment step in lab m05l12-ah fails on the hosted Azure DevOps agents due to breaking changes in current Azure resource deployment policies. The template code needs to be updated to match modern Azure requirements.
Defects Found
- Standard Public IP SKU Allocation Method Failure
• Error Code: StandardAndStandardV2SkuPublicIPAddressesMustBeStatic
• Error Message: Standard sku publicIp [...] must have AllocationMethod set to Static.
• Root Cause: The template attempts to provision a Standard SKU Public IP address with a Dynamic allocation method. Azure now strictly requires Static allocation for all Standard SKU Public IPs.
- Deprecated Storage Account Kind Failure
• Error Code: AccountKindNotSupported
• Error Message: Account Kind Storage is not supported.
• Root Cause: The linkedTemplate deployed by simple-windows-vm.bicep defines a legacy General Purpose v1 storage account (kind: 'Storage'). New creations of this legacy tier are blocked in the lab's deployment region.
- Bicep Linter Warning
• Warning: no-unused-params at infra/simple-windows-vm.bicep(20,7)
• Message: Parameter "publicIPAllocationMethod" is declared but never used.
Suggested Fixes
- In the Public IP resource definition block, enforce publicIPAllocationMethod: 'Static'.
- In the storage account resource definition block (within the nested/linked template), update the kind property from 'Storage' to 'StorageV2'.
- Clean up the unused parameter publicIPAllocationMethod from the parameter block of simple-windows-vm.bicep to clear the linter warning.
- Ngôn ngữ chính
- C#
- Star
- 248
- Fork
- 4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MicrosoftLearning/eShopOnWeb
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
MicrosoftLearning/eShopOnWeb#463 · 1 bình luận ·
-
PaymentErrorĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
MicrosoftLearning/eShopOnWeb#454 ·
Tất cả issue của MicrosoftLearning/eShopOnWeb
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
juandresrodca/AdminForge#54 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[辞書] C/C++のプリプロセッサ指令名を英字のままにするĐang mở要トリアージ 辞書
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
yksr-melt/Meltype#1625 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs typoĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
MonoGame/docs.monogame.github.io#328 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
space-wizards/RobustToolbox#7197 ·
Maintainer thường phản hồi trong vòng 1 ngày