hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.82k stars 9.16k forks source link

[Docs]: wafv2_web_acl_logging_configuration - name of CloudWatch/Logs log group must start with `aws-waf-logs-`. #32262

Closed FransUrbo closed 1 year ago

FransUrbo commented 1 year ago

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl_logging_configuration

Description

It is/was not clear from the documentation that WAF require the CloudWatch log group to start with aws-waf-logs-!

The documentation DO say:

  name = "aws-waf-logs-some-uniq-suffix"

But it was not clear that it HAVE to start with that prefix. A small note about this would be appreciated.

A comment above that line would suffice. Something like:

resource "aws_cloudwatch_log_group" "example" {
  # NOTE: Must start with `aws-waf-logs-`!
  name = "aws-waf-logs-some-uniq-suffix"
}

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 1 year ago

Hey @FransUrbo 👋 Thank you for taking the time to raise this! I've opened a documentation pull request to try to make this a bit more clear.

github-actions[bot] commented 1 year ago

This functionality has been released in v5.11.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!

github-actions[bot] commented 1 year 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.