terraform-aws-waf-webaclv2
terraform-aws-waf-webaclv2 copied to clipboard
Unsupported block type
Error: Unsupported block type
on .terraform/modules/waf/main.tf line 116, in resource "aws_wafv2_web_acl" "main": 116: dynamic "excluded_rule" {
Blocks of type "excluded_rule" are not expected here.
Error: Failed to read the given file as a state or plan file
State read error: Error loading statefile: open tfplan: no such file or directory
Software versions?
Terraform version = 1.3.5 aws version = 4.52.0
same issue
Error: Unsupported block type │ │ on .terraform/modules/waf/main.tf line 116, in resource "aws_wafv2_web_acl" "main": │ 116: dynamic "rule_action_override" { │ │ Blocks of type "rule_action_override" are not expected here. ╵ What wiil be next??
Same issue:
╷
│ Error: Unsupported block type
│
│ on .terraform/modules/waf/main.tf line 116, in resource "aws_wafv2_web_acl" "main":
│ 116: dynamic "rule_action_override" {
│
│ Blocks of type "rule_action_override" are not expected here.
╵
I know this is an old issue, but as a workaround, you need to update the AWS provider to at least 5.0.0