WAF rules show diff and update on every preview / up #2945
Labels
kind/bug
Some behavior is incorrect or out of spec
needs-triage
Needs attention from the triage team
resolution/duplicate
This issue is a duplicate of another issue
What happened?
I have some unchanging WAF rules that show as changing every time my project is deployed. See the example section below for the details on one rule.
I note that the code defines an ordered array, in which rules go from priority 0 to priority 6. The inputs section of the exported stack agrees. However, the outputs section of the stack has the (correct) rules in order 2, 6, 1, 3, 4, 5, 0. If that was important I would expect to see more updates or replaces in the diff below; instead, it shows only adds.
Example
Just one of the rules:
Which produces this diff every time:
Which shows correctly in the AWS WAF console:
I've exported the state, here's that rule in the inputs section:
And here it is in the outputs section:
Output of
pulumi about
pulumi about
doesn't show plugin versions (except of my default unused plugins -- why are they even there?), and it does show strings I don't want posted here. Can you update eitherpulumi about
to show only what's needed here, or change the tip on this section of the bug form?I'm currently using Pulumi 3.86.0, pulumi-aws 4.38.1.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: