From a2a2a81be5d23465948663575658fc4b0df7a90b Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Fri, 5 Jan 2024 19:16:04 -0300 Subject: [PATCH] * Update typo in simple plan with eports example * Update README and CHANGELOG --- CHANGELOG.md | 6 ++++++ README.md | 4 +++- examples/simple_plan_with_report/main.tf | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2ac302..b0996da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.21.0. (January 5, 2024) + +ENHANCEMENTS: + +* Add backup report feature (thanks @gpdenny) + ## 0.20.0. (December 27, 2023) ENHANCEMENTS: diff --git a/README.md b/README.md index 8ffd413..a11f100 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ module "aws_backup_example" { | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.31.0 | +| [aws](#provider\_aws) | 5.15.0 | ## Modules @@ -166,6 +166,7 @@ No modules. | Name | Type | |------|------| | [aws_backup_plan.ab_plan](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_plan) | resource | +| [aws_backup_report_plan.ab_report](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_report_plan) | resource | | [aws_backup_selection.ab_selection](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_selection) | resource | | [aws_backup_vault.ab_vault](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_vault) | resource | | [aws_backup_vault_lock_configuration.ab_vault_lock_configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_vault_lock_configuration) | resource | @@ -196,6 +197,7 @@ No modules. | [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` | `null` | no | +| [reports](#input\_reports) | The default cache behavior for this distribution. |
list(object({
name = string
description = optional(string, null)
formats = optional(list(string), null)
s3_bucket_name = string
s3_key_prefix = optional(string, null)
report_template = string
accounts = optional(list(string), null)
organization_units = optional(list(string), null)
regions = optional(list(string), null)
framework_arns = optional(list(string), [])
}))
| `[]` | 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 | diff --git a/examples/simple_plan_with_report/main.tf b/examples/simple_plan_with_report/main.tf index ab3f4c8..c89e030 100644 --- a/examples/simple_plan_with_report/main.tf +++ b/examples/simple_plan_with_report/main.tf @@ -68,7 +68,7 @@ data "aws_iam_policy_document" "bucket_policy" { statement { principals { type = "AWS" - identifiers = [aws_iam_service_linked_role.backup_role.backup_role.arn] + identifiers = [aws_iam_service_linked_role.backup_role.arn] } actions = [ @@ -87,4 +87,4 @@ data "aws_iam_policy_document" "bucket_policy" { ] } } -} \ No newline at end of file +}