Let customers ignore specific properties in stack what-if (similar to Terraform's ignore_changes)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- cloud
Hướng nghiên cứu
Start by reading the stack what-if implementation and the related drift detection issue #117 and tag noise issue #253; this request does not name source files or tests. The work needs a design for how ignored properties are declared on resources or stacks and how ignored differences appear in results. Done means customers can configure ignored property paths and see those differences identified as ignored.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
Raised by a customer that reviews stack what-if results in pull requests. Some properties on their stack-managed resources are expected to change outside the template. For example, an Azure Policy (DeployIfNotExists) sets a tag with when and how a resource was last changed, including manual changes, so the template never sets it. Stack what-if reports those differences, so today they strip them out of the what-if JSON with a script before deciding whether anything changed.
Whether a difference like this is noise depends on the customer's setup, so it's hard for the platform to decide it for them.
Describe the solution you'd like
A way for customers to mark properties as ignored in stack what-if, similar to ignore_changes in Terraform:
- on a resource in the template, for example with a decorator, and
- for a whole stack, for example a list of property paths or tag names.
Ideally, ignored differences would still be listed as ignored rather than dropped, so it stays clear what was filtered out.
Describe alternatives you've considered
- Setting every default explicitly in the template. That works for provider defaults, but not for values another process owns, like a policy-set tag.
- Carrying the current value forward with
this.existingResource(). What-if doesn't evaluate it yet (Azure/arm-template-whatif#83), so the property still shows as a change. - Filtering the what-if output with a script, which is what they do today.
Additional context
Related: Azure/bicep#3931 (ignore tag changes, closed after no recent activity), Azure/bicep#8729 (preserving existing properties during a deployment), #117 (drift detection) and #253 (tag noise in stack what-if). An ignored property is also drift the customer has chosen not to track, so this overlaps with drift detection.
- Ngôn ngữ chính
- Bicep
- Star
- 103
- Fork
- 13
- 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
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 Azure/deployment-stacks
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Azure/deployment-stacks#267 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Azure/deployment-stacks#266 · 2 bình luận ·
-
Stack what-if reports read-only alias fields on Microsoft.Network/dnsZones/A as Modify after the baselineCó thể đã có người làm @dantedallag đã nhận 6 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Azure/deployment-stacks#265 · 1 bình luận · 1 người được giao ·
-
deleteAll picks an unsupported deletion api-version per resource type (recurrence of #182/#198) - now Microsoft.Cdn ruleSets/rules rejects 2026-10-01Có thể đã có người làm @snarkywolverine đã nhận 9 ngày trước. Đang mởdelete
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Azure/deployment-stacks#264 · 8 bình luận · 1 người được giao ·
-
noise-reduction what-if
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Azure/deployment-stacks#263 · 3 bình luận ·
Tất cả issue của Azure/deployment-stacks
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws/aws-emulator#345 ·
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug dependencies python
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
awslabs/social-messaging-agent-runtime-toolkit#188 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws-powertools/powertools-lambda-python#8801 ·
Maintainer thường phản hồi trong vòng 1 ngày