At https://github.com/terraform-providers/terraform-provider-aws/issues/424 a lot of AWF related resources got supported but only one or two support importing:
https://github.com/terraform-providers/terraform-provider-aws/issues/4279 is one that is supported but a lot more aren't
Resource import support for the following resources:
Has been released in version 2.19.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 for triage. Thanks!
If anyone is interested in helping out with this feature request by contributing to the project, we have recently added a Adding Resource Import Support section to the Contributing Guide which has information on how implement the necessary changes. ๐
Hi folks ๐ As of version 2.33.0 of the Terraform AWS Provider, released a few weeks ago, these two resources now support import:
aws_waf_byte_match_setaws_waf_rate_based_ruleFor the rest of these below, import support was recently merged and will release with version 2.37.0 of the Terraform AWS Provider, by Thursday next week:
aws_waf_geo_match_setaws_waf_regex_match_setaws_waf_regex_pattern_setaws_waf_size_constraint_setaws_waf_xss_match_setaws_wafregional_web_acl_associationSpecial thanks to @kterada0509 and @DrFaust92 for their help here. If you have additional requests for resource import support for other resources, please create a new feature request issue. Thanks!
This has been released in version 2.37.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 for triage. Thanks!
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!
Most helpful comment
If anyone is interested in helping out with this feature request by contributing to the project, we have recently added a
Adding Resource Import Supportsection to the Contributing Guide which has information on how implement the necessary changes. ๐