From 5052ff37dcef6730289edc865a117f87af06106a Mon Sep 17 00:00:00 2001 From: davidhallam4-nhs <110543996+davidhallam4-nhs@users.noreply.github.com> Date: Tue, 3 Jun 2025 21:40:52 +0100 Subject: [PATCH] Translation of - to _ and removal of the tautological _backup_restore_testing_plan suffix --- modules/aws-backup-source/backup_restore_testing.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aws-backup-source/backup_restore_testing.tf b/modules/aws-backup-source/backup_restore_testing.tf index 8b5487c..7dd3c6e 100644 --- a/modules/aws-backup-source/backup_restore_testing.tf +++ b/modules/aws-backup-source/backup_restore_testing.tf @@ -1,5 +1,5 @@ resource "awscc_backup_restore_testing_plan" "backup_restore_testing_plan" { - restore_testing_plan_name = "${local.resource_name_prefix}_backup_restore_testing_plan" + restore_testing_plan_name = replace(local.resource_name_prefix, "-", "_") schedule_expression = var.restore_testing_plan_scheduled_expression start_window_hours = var.restore_testing_plan_start_window recovery_point_selection = {