forked from lgallard/terraform-aws-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
31 lines (26 loc) · 890 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Vault
output "vault_id" {
description = "The name of the vault"
value = join("", aws_backup_vault.ab_vault.*.id)
}
output "vault_arn" {
description = "The ARN of the vault"
value = join("", aws_backup_vault.ab_vault.*.arn)
}
# Plan
output "plan_id" {
description = "The id of the backup plan"
value = join("", aws_backup_plan.ab_plan.*.id)
}
output "plan_arn" {
description = "The ARN of the backup plan"
value = join("", aws_backup_plan.ab_plan.*.arn)
}
output "plan_version" {
description = "Unique, randomly generated, Unicode, UTF-8 encoded string that serves as the version ID of the backup plan"
value = join("", aws_backup_plan.ab_plan.*.version)
}
output "plan_role" {
description = "The service role of the backup plan"
value = var.iam_role_arn == null ? join("", aws_iam_role.ab_role.*.name) : var.iam_role_arn
}