Closed ismail0352 closed 4 years ago
This repository is for terraform and this issue is for the AWS terraform provider. There is already a set of issues on the AWS terraform provider repository to implement WAFv2.
Transferring discussion to https://github.com/terraform-providers/terraform-provider-aws/issues/11046
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.
Current Terraform Version
Use-cases
Currently, wafregional resource creates everything on WAF classic and I have been searching for some time whether there is a way to create everything on the v2 version.
Attempted Solutions
I have tried importing but it is unable to locate web ACL to import in classic WAF
Proposal
Need a feature with the v2 support to create rules. I think as an immediate course if we can just add import using JSON will help others to start using it quickly.
References
https://www.terraform.io/docs/providers/aws/r/wafregional_web_acl.html https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html