Skip to content

Commit 3964cb3

Browse files
authored
feat: Prefix the CloudWatch Log group name with /aws/vendedlogs/states/ (#52)
Co-authored-by: [email protected]
1 parent 841e938 commit 3964cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ data "aws_cloudwatch_log_group" "sfn" {
307307
resource "aws_cloudwatch_log_group" "sfn" {
308308
count = var.create && local.enable_logging && !var.use_existing_cloudwatch_log_group ? 1 : 0
309309

310-
name = coalesce(var.cloudwatch_log_group_name, var.name)
310+
name = coalesce(var.cloudwatch_log_group_name, "/aws/vendedlogs/states/${var.name}")
311311
retention_in_days = var.cloudwatch_log_group_retention_in_days
312312
kms_key_id = var.cloudwatch_log_group_kms_key_id
313313

0 commit comments

Comments
 (0)