-
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
Cannot associate an aws_wafregional_rate_based_rule with an aws_wafregional_web_acl resouce #4184
Comments
Hello Terraform, This might be double from the old ticket #4078 but is there any view on when this will be fixed or is there maybe a work around to get the aws_wafregional_rate_based_rule linked some other way? |
@mvankrieken I have retried and the problem still hasn't been resolved. My work-around is to attach rate based rule manually to WebACL. Also, my bug is different from #4078 . It occurs particularly against rate based rule. |
@exNewbie I also tried it for aws.version 1.22 but indeed i also still get the error. For now i manually added the rule i wanted. I did place |
@mvankrieken @exNewbie |
@keldush hmm i did not had trouble with that. You should make a set, connect that to a rule and then connect the rule to the web acl.
Something like above should work. |
@mvankrieken you are absolutely correct sir, my bad. |
I guess this is happening, because the provider currently ignores the See:
From the GoDocs:
|
The |
This has been released in version 1.25.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I was getting the same error when trying to attach 'aws_wafregional_rate_based_rule' to an web ACL. This was due 2 reason: 1. The rule type and 2. adding the depends_on parameter in web ACL for rate based rule. WAF Web ACL#=========================== default_action { rule { } |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Terraform Version
Terraform v0.11.7
Affected Resource(s)
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
https://github.com/terraform-providers/terraform-provider-aws/files/1901714/terraform-debug.log
Expected Behavior
Terraform should associate aws_wafregional_rate_based_rule resource with aws_wafregional_web_acl one.
Actual Behavior
Terraform throws errors
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: