mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-16 19:00:27 -04:00
860 B
860 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| aws | AWS: aws_cloudwatch_log_group | docs-aws-resource-cloudwatch-log-group | Provides a CloudWatch Log Group resource. |
aws_cloudwatch_log_group
Provides a CloudWatch Log Group resource.
Example Usage
resource "aws_cloudwatch_log_group" "yada" {
name = "Yada"
}
Argument Reference
The following arguments are supported:
name- (Required) The name of the log groupretention_in_days- (Optional) Specifies the number of days you want to retain log events in the specified log group.
Attributes Reference
The following attributes are exported:
arn- The Amazon Resource Name (ARN) specifying the log group.
Import
Cloudwatch Log Groups can be imported using the name, e.g.
$ terraform import aws_cloudwatch_log_group.test_group yada