Skip to content

Commit 36a8077

Browse files
committed
fix: use name_prefix instead of static name to avoid
30 day recovery window fixes #12
1 parent b5201c0 commit 36a8077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logs_monitoring.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ resource aws_cloudformation_stack "datadog-forwarder" {
1818
}
1919

2020
resource aws_secretsmanager_secret "datadog_api_key" {
21-
name = "${local.stack_prefix}datadog-api-key"
21+
name_prefix = "${local.stack_prefix}datadog-api-key"
2222
description = "Datadog API Key"
2323
tags = local.default_tags
2424
}

0 commit comments

Comments
 (0)