From 7f8392ed2e535bea1cf21f302726ace3d1ac811a Mon Sep 17 00:00:00 2001 From: Rohith Jayawardene Date: Fri, 8 Nov 2024 12:33:09 +0000 Subject: [PATCH] chore: adding a dash to the prefix in the aws secret --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 51ad29a..c9fb1d4 100644 --- a/main.tf +++ b/main.tf @@ -24,7 +24,7 @@ resource "aws_secretsmanager_secret" "configuration" { for_each = var.tasks description = format("Contains the configuration yaml for the aws-nuke '%s' task", each.key) - name_prefix = format("%s/%s", var.configuration_secret_name_prefix, each.key) + name_prefix = format("%s/%s-", var.configuration_secret_name_prefix, each.key) recovery_window_in_days = 0 tags = var.tags