Closed matt-flow closed 5 years ago
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform v0.11.13
Terraform Configuration Files
Debug Output
Error: Error applying plan:
1 error(s) occurred:
aws_wafregional_web_acl.abt_geo: 1 error(s) occurred:
aws_wafregional_web_acl.abt_geo: Error Updating WAF Regional ACL: WAFNonexistentItemException: The referenced item does not exist. status code: 400, request id: bb07316c-b507-11e9-abea-651a98b64b5e
Terraform does not automatically rollback in the face of errors. Instead, your Terraform state file has been partially updated with any resources that successfully completed. Please address the error above and apply again to incrementally change your infrastructure.
[terragrunt] 2019/08/02 09:27:22 Hit multiple errors: exit status 1
MSG:
non-zero return code
Expected Behavior
The rule needs to be added to waf web acl
Actual Behavior
I'm getting an error "aws_wafregional_web_acl.abt_geo: Error Updating WAF Regional ACL: WAFNonexistentItemException: The referenced item does not exist."
Additional Context
Almost everything is working correctly, I can see that terraform is adding conditions to Geo match, conditions contains correct values, also I can see correct rule and web acl, but for some reason the rule is not getting added to new web acl and I'm getting an error that apparently the referenced item does not exist.