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.74k stars 9.1k forks source link

[New Resource]: aws_cloudwatch_retention_period #38975

Open breathingdust opened 3 weeks ago

breathingdust commented 3 weeks ago

Description

Allow configuration (override) of the default indefinite retention period. Is supported by Put/Delete APIs. Unfortunately there is no Describe

Requested Resource(s) and/or Data Source(s)

Potential Terraform Configuration

resource "aws_cloudwatch_retention_policy" "example" {
  log_group_name = ""
  retention_in_day = 10
}

References

Would you like to implement a fix?

None

github-actions[bot] commented 3 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue