outputs.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Outputs ======================================================================

output "invitations" {
  description = "Map of invitation keys to full acceptance details — status, share ID, sender/receiver account IDs, and resource share name."
  value = {
    for k, v in aws_ram_resource_share_accepter.this : k => {
      status              = v.status
      share_id            = v.share_id
      sender_account_id   = v.sender_account_id
      receiver_account_id = v.receiver_account_id
      resource_share_name = v.resource_share_name
    }
  }
}