hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.6k stars 9.55k forks source link

Support for AWS WAF (New Version) #24305

Closed ismail0352 closed 4 years ago

ismail0352 commented 4 years ago

Current Terraform Version

Terraform v0.12.16
+ provider.aws v2.51.0

Your version of Terraform is out of date! The latest version
is 0.12.21. You can update by downloading from https://www.terraform.io/downloads.html

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

Glen-Moonpig commented 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.

hashibot commented 4 years ago

Transferring discussion to https://github.com/terraform-providers/terraform-provider-aws/issues/11046

ghost commented 4 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.