Closed aashitvyas closed 3 years ago
Your data_id
and rule_id
shouldn't be in quotes. E.g., change...
rules {
action {
type = "BLOCK"
}
priority = 1
rule_id = "aws_waf_rule.edvrwafrule.id"
type = "REGULAR"
}
to...
rules {
action {
type = "BLOCK"
}
priority = 1
rule_id = aws_waf_rule.edvrwafrule.id
type = "REGULAR"
}
Hi @aashitvyas, thank you for reporting this issue! Just wanted to follow-up here and see if you are still experiencing this behavior or if @gurchik's suggestion did the trick 👍
It's been a long time since we heard from you here so we're going to close this out. If you're still having this problem, please feel free to reply with answers to the question above.
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 Configuration Files
Debug Output
Crash Output
Expected Behavior
TF should create a web acl with the ip match filtering enabled
Actual Behavior
TF Apply is failing with the following error message
Steps to Reproduce
terraform init
andterraform plan
terraform apply
and it should fail with above error.Additional Context
I am running plain terraform without any wrapper script. I have tried with two versions of TF 12 ( v0.12.21 and 0.12.24 ) and they are failing with the same error at apply level I have used the same TF config after making interpolation changes with TF v0.11.14 and it did create AWS WAF without any issues.
References
https://github.com/terraform-providers/terraform-provider-aws/issues/4078