error with opentelekomcloud_waf_dedicated_precise_protection_rule_v1, category "url" and "params" and logic_operations "len_equal", "len_less" and "len_greater" #2434
logic_operation "len_less" should be valid for the category "url", as mentioned in the documentation
logic_operations "len_equal", "len_less" and "len_greater" should be valid for the category "params", as mentioned in the documentation
Actual Behavior
logic_operation "len_less" is not accepted for the category "url"
logic_operations "len_equal", "len_less" and "len_greater" are not accepted for the category "params"
We even created a rule manually via the web console and used the logic_operations mentioned above.
We then imported the rule into terraform and the logic_oparations were as mentioned above.
terraform validate fails, even if it is an imported rule
Terraform provider version
Terraform v1.7.2 on linux_amd64
Affected Resource(s)
opentelekomcloud_waf_dedicated_precise_protection_rule_v1
Terraform Configuration Files
Debug Output/Panic Output
https://gist.github.com/IamThomasB/a57cfa58d3f3f1091034e281ded4214a
Steps to Reproduce
terraform validate
Expected Behavior
logic_operation "len_less" should be valid for the category "url", as mentioned in the documentation logic_operations "len_equal", "len_less" and "len_greater" should be valid for the category "params", as mentioned in the documentation
Actual Behavior
logic_operation "len_less" is not accepted for the category "url" logic_operations "len_equal", "len_less" and "len_greater" are not accepted for the category "params"
We even created a rule manually via the web console and used the logic_operations mentioned above. We then imported the rule into terraform and the logic_oparations were as mentioned above. terraform validate fails, even if it is an imported rule
Important Factoids
References