Open spock-abadai opened 6 months ago
Hi @spock-abadai. Thanks for letting us know about this. I think this is a bug upstream. It doesn't look like the interface is designed for an ordering on rules.
The upstream provider (terraform-provider-aws) implements rules
as a set, which means order independent:
What happened?
I imported a cost category and the sequence of rules imported into the state was in a different order than the rules actually in AWS. When I then modified the rule order in my stack code and ran
pulumi up
, the preview claimed no change is necessary.The order of rules in a cost category is important, as the rules are evaluated in order, and evaluation stops once a rule matches.
Example
Output of
pulumi about
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).