Skip to content

Commit

Permalink
DEVOPS-1330 Adding ARN output for the IAM role (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-afk91 authored Oct 18, 2022
1 parent f4d990f commit 5cf4f0e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
<a name="unreleased"></a>
## [Unreleased]

- DEVOPS-1330 Added output for IAM Role name


<a name="1.5.1"></a>
## [1.5.1] - 2022-10-14

- DEVOPS-1330 Added output for IAM Role name ([#14](https://github.com/umotif-public/terraform-aws-backup/issues/14))


<a name="1.5.0"></a>
Expand Down Expand Up @@ -63,7 +68,8 @@ All notable changes to this project will be documented in this file.
- Initial commit


[Unreleased]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.0...HEAD
[Unreleased]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.1...HEAD
[1.5.1]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.0...1.5.1
[1.5.0]: https://github.com/umotif-public/terraform-aws-backup/compare/1.4.0...1.5.0
[1.4.0]: https://github.com/umotif-public/terraform-aws-backup/compare/1.3.1...1.4.0
[1.3.1]: https://github.com/umotif-public/terraform-aws-backup/compare/1.3.0...1.3.1
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Module managed by:

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.0.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.35.0 |

## Modules

Expand Down Expand Up @@ -151,6 +151,7 @@ No modules.
| <a name="output_backup_sns_topic_arn"></a> [backup\_sns\_topic\_arn](#output\_backup\_sns\_topic\_arn) | The Amazon Resource Name (ARN) that specifies the topic for a backup vault’s events |
| <a name="output_backup_vault_arn"></a> [backup\_vault\_arn](#output\_backup\_vault\_arn) | The Amazon Resource Name (ARN) that identifies the AWS Backup Vault |
| <a name="output_backup_vault_events"></a> [backup\_vault\_events](#output\_backup\_vault\_events) | An array of events that indicate the status of jobs to back up resources to the backup vault. |
| <a name="output_backup_vault_iam_role_arn"></a> [backup\_vault\_iam\_role\_arn](#output\_backup\_vault\_iam\_role\_arn) | The ARN of the backup IAM role |
| <a name="output_backup_vault_iam_role_name"></a> [backup\_vault\_iam\_role\_name](#output\_backup\_vault\_iam\_role\_name) | The name of the backup IAM role |
| <a name="output_backup_vault_id"></a> [backup\_vault\_id](#output\_backup\_vault\_id) | The name of the AWS Backup Vault |
| <a name="output_backup_vault_recovery_points"></a> [backup\_vault\_recovery\_points](#output\_backup\_vault\_recovery\_points) | The number of recovery points that are stored in a backup vault |
Expand Down
4 changes: 4 additions & 0 deletions examples/vault/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ output "backup_selection_id" {
output "backup_vault_iam_role_name" {
description = "The name of the backup IAM role"
value = module.backup.backup_vault_iam_role_name
}

output "backup_vault_iam_role_arn" {
output = module.backup.backup_vault_iam_role_name.arn
}
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@ output "backup_vault_events" {
output "backup_vault_iam_role_name" {
description = "The name of the backup IAM role"
value = aws_iam_role.main.name
}

output "backup_vault_iam_role_arn" {
description = "The ARN of the backup IAM role"
value = aws_iam_role.main.arn
}

0 comments on commit 5cf4f0e

Please sign in to comment.