outputs.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# Outputs ======================================================================

output "resource_share_ids" {
  description = "Map of resource share keys to RAM resource share IDs."
  value       = { for k, v in aws_ram_resource_share.this : k => v.id }
}

output "resource_share_arns" {
  description = "Map of resource share keys to RAM resource share ARNs."
  value       = { for k, v in aws_ram_resource_share.this : k => v.arn }
}

output "resource_associations" {
  description = "Map of resource association keys to the associated resource ARN."
  value       = { for k, v in aws_ram_resource_association.this : k => v.resource_arn }
}

output "principal_associations" {
  description = "Map of principal association keys to the associated principal."
  value       = { for k, v in aws_ram_principal_association.this : k => v.principal }
}