[New Data Source]: ability to list shared resources from accounts in the org #28927
Labels
new-data-source
Introduces a new data source.
service/ram
Issues and PRs that pertain to the ram service.
Milestone
Description
We need to query shared resources and filter them by type
aws cli allows listing shared resources using command
aws ram list-resources \ --region us-east-1 \ --resource-owner SELF/OTHER-ACCOUNTS
https://docs.aws.amazon.com/ram/latest/userguide/working-with-sharing-view-sr.html
ideally data source should return all the data that aws cli returns and allow type and share arn filtering.
Requested Resource(s) and/or Data Source(s)
aws_ram_shared_resources
Potential Terraform Configuration
References
https://docs.aws.amazon.com/ram/latest/userguide/working-with-sharing-view-sr.html
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/ram#Client.ListResources
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: