Closed dynamike closed 6 years ago
This should be fixed with #5053 which was just merged into master and will release with version 1.27.0 of the AWS provider, likely middle of this week. 👍
# Implementation is similar for aws_wafregional_web_acl resource
resource "aws_waf_web_acl" "example" {
# ... other configuration ...
rules {
# ... other configuration ...
override_action {
type = "NONE"
}
type = "GROUP"
rule_id = "${aws_waf_rule_group.example.id}"
}
}
This has been released in version 1.27.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
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
Affected Resource(s)
Terraform Configuration Files
Debug Output
terraform apply
output -- https://gist.github.com/dynamike/2c2dd59db19c380f09edba8e0db25686Expected Behavior
The
aws_wafregional_rule_group
should attach to the aws_wafregional_web_aclActual Behavior
It's unable to find the rule group id
* aws_wafregional_web_acl.example: Error Updating WAF Regional ACL: Error Updating WAF Regional ACL: WAFNonexistentItemException: The referenced item does not exist.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply --auto-approve