Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: applicationGateways@2024-05-01 requestRoutingRules false positive drift due to ordering mismatch #789

Open
CezaryKlus opened this issue Feb 25, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@CezaryKlus
Copy link

CezaryKlus commented Feb 25, 2025

Microsoft.Network/applicationGateways@2024-05-01 I observe a permanent plan drift that is not caused by any change but due to a change in the order of the requestRoutingRules compared against API response.

In my case the collection contains 12 rules, and I construct it via flatten([for ... in ... : [ pattern.

I construct the other collection in the same way however only requestRoutingRules reports false drift.

It seems it does not fit in this fix: #455

@ms-henglu ms-henglu added the enhancement New feature or request label Feb 28, 2025
@ms-henglu
Copy link
Member

Hi @CezaryKlus ,

Thank you for taking time to report the issue.

The #455 was aimed at reducing noise when there're more elements in the response comparing with the config.

But I think we could add this feature in the plan phase as well, to suppress the diff if only order is changed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants