ram-acceptance
Accepts pending AWS RAM resource share invitations. This module must run
using a provider authenticated as the receiving account, which the calling
stack passes in explicitly through the providers map.
Usage
module "ram_acceptance" {
source = "hcassc.jfrog.io/iac-tf-modules-virtual__networking/ram-acceptance/aws"
version = "0.1.0"
providers = {
aws = aws.receiver
}
share_invitations = {
example_share = {
share_arn = module.ram_share.resource_share_arns["example_share"]
}
}
}
Requirements
Providers
| Name |
Version |
| aws |
>= 6.0, < 7.0 |
Resources
| Name |
Description |
Type |
Default |
Required |
| share_invitations |
Map of RAM resource share invitations to accept.share_arn is required and must reference a share for which thisaccount is the invited principal. The calling stack must pass ina provider authenticated as the receiving account for this invocation. |
map(object({ share_arn = string })) |
{} |
no |
| tags |
Tags applied to all resources in this module. |
map(string) |
{} |
no |
Outputs
| Name |
Description |
| invitations |
Map of invitation keys to full acceptance details — status, share ID, sender/receiver account IDs, and resource share name. |