[Bug]: aws_wafv2_web_acl_logging_configuration filter ordering is undefined #32665
Labels
bug
Addresses a defect in current functionality.
service/wafv2
Issues and PRs that pertain to the wafv2 service.
Terraform Core Version
0.13.7
AWS Provider Version
5.7.0
Affected Resource(s)
resource aws_wafv2_web_acl_logging_configuration
-> logging_filter -> filter
Expected Behavior
Listing multiple
filter
blocks should apply the filters in order.To quote the AWS Console:
So order is important.
But the filter block has been defined as a schema.TypeSet which means the ordering is ignored/lost.
https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/wafv2/web_acl_logging_configuration.go#L65L66
Actual Behavior
The filters are applied in "random" order.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: