Let customers ignore specific properties in stack what-if (similar to Terraform's ignore_changes)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- cloud
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Bicep
- Estrellas
- 103
- Forks
- 13
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/deployment-stacks
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Azure/deployment-stacks#267 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Azure/deployment-stacks#266 · 2 comentarios ·
-
Stack what-if reports read-only alias fields on Microsoft.Network/dnsZones/A as Modify after the baselinePosiblemente ocupada @dantedallag la tomó hace 6 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Azure/deployment-stacks#265 · 1 comentario · 1 asignado ·
-
deleteAll picks an unsupported deletion api-version per resource type (recurrence of #182/#198) - now Microsoft.Cdn ruleSets/rules rejects 2026-10-01Posiblemente ocupada @snarkywolverine la tomó hace 9 días. Abiertodelete
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
Azure/deployment-stacks#264 · 8 comentarios · 1 asignado ·
-
noise-reduction what-if
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
Azure/deployment-stacks#263 · 3 comentarios ·
Todos los issues de Azure/deployment-stacks
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws/aws-emulator#345 ·
-
documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bug dependencies python
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
awslabs/social-messaging-agent-runtime-toolkit#188 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aws-powertools/powertools-lambda-python#8801 ·
Los mantenedores suelen responder en 1 día