-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: aws_wafv2_web_acl error setting ATP configurations #29154
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
try the following:
|
Thank you so much, it ended up being that, as well as needing to define In the end if anyone else bumps into this, the rule block that worked looks like so: rule {
name = "AWS-AWSManagedRulesATPRuleSet"
priority = 9
statement {
managed_rule_group_statement {
name = "AWSManagedRulesATPRuleSet"
vendor_name = "AWS"
managed_rule_group_configs {
login_path = "XXX"
}
managed_rule_group_configs {
payload_type = "JSON"
}
managed_rule_group_configs {
username_field {
identifier = "XXX"
}
}
managed_rule_group_configs {
password_field {
identifier = "XXX"
}
}
}
}
override_action {
none {}
}
visibility_config {
cloudwatch_metrics_enabled = true
metric_name = "AWS-AWSManagedRulesATPRuleSet"
sampled_requests_enabled = true
}
} |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.0.2
AWS Provider Version
4.52.0
Affected Resource(s)
Expected Behavior
Expect the rulegroup "AWS-AWSManagedRulesATPRuleSet" to my existing AWS WAF
Actual Behavior
Terraform throws an error saying the config doesn't exist, similar to #28808
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Apply the above terraform
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
#28808
Potentially: #28878
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: