From 97d97f855681254376043a171a1664a08b517009 Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Wed, 27 Dec 2023 23:07:26 -0300 Subject: [PATCH 1/2] Update CHANGELOG and README --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed947bd..e6b37e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.20.0. (December 27, 2023) + +ENHANCEMENTS: + +* only create `aws_backup_plan` if rules are provided (thanks @gpdenny) + ## 0.19.3 (September 1, 2023) ENHANCEMENTS: diff --git a/README.md b/README.md index 7b9fbd7..8ffd413 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ module "aws_backup_example" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.15.0 | +| [aws](#provider\_aws) | 5.31.0 | ## Modules @@ -195,7 +195,7 @@ No modules. | [max\_retention\_days](#input\_max\_retention\_days) | The maximum retention period that the vault retains its recovery points | `number` | `null` | no | | [min\_retention\_days](#input\_min\_retention\_days) | The minimum retention period that the vault retains its recovery points | `number` | `null` | no | | [notifications](#input\_notifications) | Notification block which defines backup vault events and the SNS Topic ARN to send AWS Backup notifications to. Leave it empty to disable notifications | `any` | `{}` | no | -| [plan\_name](#input\_plan\_name) | The display name of a backup plan | `string` | n/a | yes | +| [plan\_name](#input\_plan\_name) | The display name of a backup plan | `string` | `null` | no | | [rule\_completion\_window](#input\_rule\_completion\_window) | The amount of time AWS Backup attempts a backup before canceling the job and returning an error | `number` | `null` | no | | [rule\_copy\_action\_destination\_vault\_arn](#input\_rule\_copy\_action\_destination\_vault\_arn) | An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. | `string` | `null` | no | | [rule\_copy\_action\_lifecycle](#input\_rule\_copy\_action\_lifecycle) | The lifecycle defines when a protected resource is copied over to a backup vault and when it expires. | `map(any)` | `{}` | no | From 632c7fe02d532587e39c815f4cb1308d18553916 Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Wed, 27 Dec 2023 23:09:32 -0300 Subject: [PATCH 2/2] Update README --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6b37e6..f2ac302 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ENHANCEMENTS: -* only create `aws_backup_plan` if rules are provided (thanks @gpdenny) +* Add conditional for `aws_backup_plan` to avoid creation if no rules are provided (thanks @gpdenny) ## 0.19.3 (September 1, 2023)