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

Feature Request: Add Support for managed_rule_group_configs enable_machine_learning option #139

Open
celeronsx opened this issue Nov 26, 2024 · 0 comments · May be fixed by #140
Open

Feature Request: Add Support for managed_rule_group_configs enable_machine_learning option #139

celeronsx opened this issue Nov 26, 2024 · 0 comments · May be fixed by #140

Comments

@celeronsx
Copy link

celeronsx commented Nov 26, 2024

Description

I am experiencing configuration drift with the managed_rule_group_configs.aws_managed_rules_bot_control_rule_set block for AWS managed rules in the aws_wafv2_web_acl resource. Specifically, the following JSON shows the drift:

      - rule {
          - name     = "AWS-AWSManagedRulesBotControlRuleSet" -> null
          - priority = 12 -> null

          - override_action {
              - none {}
            }

          - statement {
              - managed_rule_group_statement {
                  - name        = "AWSManagedRulesBotControlRuleSet" -> null
                  - vendor_name = "AWS" -> null

                  - managed_rule_group_configs {
                      - aws_managed_rules_bot_control_rule_set {
                          - enable_machine_learning = false -> null
                          - inspection_level        = "COMMON" -> null
                        }
                    }

References

Terraform AWS Provider: Add enable_machine_learning to aws_managed_rules_bot_control_rule_set
AWS Provider Version: >= 5.59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment