Closed brandonpalmer closed 3 years ago
There is open PR to address this: https://github.com/hashicorp/terraform-provider-aws/pull/19407
This functionality has been released in v3.50.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!
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.
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.7 / 0.15.1
Affected Resource(s)
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl For Managed Rules, the Scope-Down is not supported in Terraform. It IS supported in the AWS CLI / AWS SDK
This does work for other rule types (like rate_based_statement statement rules)
Terraform Configuration Files
Debug Output
https://gist.github.com/brandonpalmer/6ac46bc9c028fdca6faee038e67aaf56
Panic Output
Expected Behavior
Scope-down should have been applied to rule.
Throws error
terraform apply
Important Factoids
References
0000