diff --git a/CHANGELOG.md b/CHANGELOG.md index 978b9be..6f6239b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [v1.4.7] (2026-07-22) + +### Improvements + +- Output arns of copy-recovery-point lambda and restore-to-s3-lambda if created. + ## [v1.4.6] (2026-07-22) ### Features diff --git a/modules/aws-backup-source/README.md b/modules/aws-backup-source/README.md index 2a1c461..13cc678 100644 --- a/modules/aws-backup-source/README.md +++ b/modules/aws-backup-source/README.md @@ -95,6 +95,12 @@ No modules. ## Outputs -No outputs. +| Name | Description | Type | +| --- | --- | --- | +| [backup_role_arn](#output_backup_role_arn) | ARN of the backup role | `string` | +| [backup_vault_arn](#output_backup_vault_arn) | ARN of the backup vault | `string` | +| [backup_vault_name](#output_backup_vault_name) | Name of the backup vault | `string` | +| [lambda_copy_recovery_point_to_s3_arn](#output_lambda_copy_recovery_point_to_s3_arn) | ARN of the Lambda function that copies recovery points to S3. Only created when `lambda_copy_recovery_point_enable` is true. | `string` or `null` | n/a | no | +| [lambda_restore_to_s3_arn](#output_lambda_restore_to_s3_arn) | ARN of the Lambda function that restores to S3. Only created when `lambda_restore_to_s3_enable` is true. | `string` or `null`| diff --git a/modules/aws-backup-source/outputs.tf b/modules/aws-backup-source/outputs.tf index 96ab936..915541e 100644 --- a/modules/aws-backup-source/outputs.tf +++ b/modules/aws-backup-source/outputs.tf @@ -12,3 +12,13 @@ output "backup_vault_name" { value = aws_backup_vault.main.name description = "Name of the of the vault" } + +output "lambda_copy_recovery_point_to_s3_arn" { + value = try(aws_lambda_function.lambda_copy_recovery_point[0].arn, null) + description = "ARN of the of the lambda function to copy recovery point to s3. Lambda only created if lambda_copy_recovery_point_enable is true" +} + +output "lambda_restore_to_s3_arn" { + value = try(aws_lambda_function.lambda_restore_to_s3[0].arn, null) + description = "ARN of the of the lambda function to restore to s3. Lambda only created if lambda_restore_to_s3_enable is true" +} diff --git a/modules/aws-backup-source/version b/modules/aws-backup-source/version index 2aca8c0..ff1560e 100644 --- a/modules/aws-backup-source/version +++ b/modules/aws-backup-source/version @@ -1 +1 @@ -v1.4.6 +v1.4.7