Skip to content

Commit 5cf4f0e

Browse files
DEVOPS-1330 Adding ARN output for the IAM role (#15)
1 parent f4d990f commit 5cf4f0e

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
55
<a name="unreleased"></a>
66
## [Unreleased]
77

8-
- DEVOPS-1330 Added output for IAM Role name
8+
9+
10+
<a name="1.5.1"></a>
11+
## [1.5.1] - 2022-10-14
12+
13+
- DEVOPS-1330 Added output for IAM Role name ([#14](https://github.com/umotif-public/terraform-aws-backup/issues/14))
914

1015

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

6570

66-
[Unreleased]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.0...HEAD
71+
[Unreleased]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.1...HEAD
72+
[1.5.1]: https://github.com/umotif-public/terraform-aws-backup/compare/1.5.0...1.5.1
6773
[1.5.0]: https://github.com/umotif-public/terraform-aws-backup/compare/1.4.0...1.5.0
6874
[1.4.0]: https://github.com/umotif-public/terraform-aws-backup/compare/1.3.1...1.4.0
6975
[1.3.1]: https://github.com/umotif-public/terraform-aws-backup/compare/1.3.0...1.3.1

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Module managed by:
9393

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

9898
## Modules
9999

@@ -151,6 +151,7 @@ No modules.
151151
| <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 |
152152
| <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 |
153153
| <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. |
154+
| <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 |
154155
| <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 |
155156
| <a name="output_backup_vault_id"></a> [backup\_vault\_id](#output\_backup\_vault\_id) | The name of the AWS Backup Vault |
156157
| <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 |

examples/vault/outputs.tf

+4
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ output "backup_selection_id" {
3636
output "backup_vault_iam_role_name" {
3737
description = "The name of the backup IAM role"
3838
value = module.backup.backup_vault_iam_role_name
39+
}
40+
41+
output "backup_vault_iam_role_arn" {
42+
output = module.backup.backup_vault_iam_role_name.arn
3943
}

outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,9 @@ output "backup_vault_events" {
6363
output "backup_vault_iam_role_name" {
6464
description = "The name of the backup IAM role"
6565
value = aws_iam_role.main.name
66+
}
67+
68+
output "backup_vault_iam_role_arn" {
69+
description = "The ARN of the backup IAM role"
70+
value = aws_iam_role.main.arn
6671
}

0 commit comments

Comments
 (0)