From 909bd79942d9643474a5179a79ea4bd1f37b11b3 Mon Sep 17 00:00:00 2001 From: tim Date: Wed, 18 Jun 2025 12:54:46 +0300 Subject: [PATCH] set_default_in_template_as_its_commented_in_vars --- roles/aws/aws_backup/templates/backup-yaml-input.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/aws/aws_backup/templates/backup-yaml-input.yml.j2 b/roles/aws/aws_backup/templates/backup-yaml-input.yml.j2 index d6082ec90..f9dfff92c 100644 --- a/roles/aws/aws_backup/templates/backup-yaml-input.yml.j2 +++ b/roles/aws/aws_backup/templates/backup-yaml-input.yml.j2 @@ -29,6 +29,6 @@ BackupPlan: # [REQUIRED] Specifies the body of a backup plan. {% endif %} DestinationBackupVaultArn: "{% if _copy_vault_info is defined %}{{ _copy_vault_info.stdout | from_json | json_query('BackupVaultArn') }}{% else %}{{ _copy_vault_exists.stdout | from_json | json_query('BackupVaultArn') }}{% endif %}" # [REQUIRED] An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. {% endif %} - EnableContinuousBackup: {{ rule.continuous_backup | bool }} # Specifies whether Backup creates continuous backups. + EnableContinuousBackup: {{ rule.continuous_backup | default(false) | bool }} # Specifies whether Backup creates continuous backups. {% endfor %} CreatorRequestId: '' # Identifies the request and allows failed requests to be retried without the risk of running the operation twice. \ No newline at end of file