You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/cloudwatch_log_group.html.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ This data source exports the following attributes in addition to the arguments a
31
31
32
32
*`arn` - ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
33
33
*`creation_time` - Creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
34
+
*`deletion_protection_enabled` - Boolean to indicate whether deletion protection is enabled.
34
35
*`kms_key_id` - ARN of the KMS Key to use when encrypting log data.
35
36
*`log_group_class` - The log class of the log group.
36
37
*`retention_in_days` - Number of days log events retained in the specified log group.
Copy file name to clipboardExpand all lines: website/docs/r/cloudwatch_log_group.html.markdown
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ This resource supports the following arguments:
31
31
*`name` - (Optional, Forces new resource) The name of the log group. If omitted, Terraform will assign a random, unique name.
32
32
*`name_prefix` - (Optional, Forces new resource) Creates a unique name beginning with the specified prefix. Conflicts with `name`.
33
33
*`skip_destroy` - (Optional) Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the Terraform state.
34
+
*`deletion_protection_enabled` – (Optional) Boolean to indicate whether deletion protection is enabled. Defaults to `false`. Once set, switching to `false` requires explicitly specifying `false` rather than removing this argument.
34
35
*`log_group_class` - (Optional) Specified the log class of the log group. Possible values are: `STANDARD`, `INFREQUENT_ACCESS`, or `DELIVERY`.
35
36
*`retention_in_days` - (Optional) Specifies the number of days
36
37
you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
0 commit comments