From 5832f498cdc2b1dea56c37e8c7ae7c50027df796 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 +- modules/aws-backup-source/version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aws-backup-source/backup_restore_testing.tf b/modules/aws-backup-source/backup_restore_testing.tf index f79a95d..40ba0ec 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 = var.name_prefix != null ? "${var.name_prefix}_backup_restore_testing_plan" : "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 = { diff --git a/modules/aws-backup-source/version b/modules/aws-backup-source/version index 2e7bd91..46b105a 100644 --- a/modules/aws-backup-source/version +++ b/modules/aws-backup-source/version @@ -1 +1 @@ -v1.5.0 +v2.0.0