Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation for aws_ram_principal_association #14202

Open
nikolaifa opened this issue Jul 16, 2020 · 1 comment
Open

Update documentation for aws_ram_principal_association #14202

nikolaifa opened this issue Jul 16, 2020 · 1 comment
Labels
bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. service/ram Issues and PRs that pertain to the ram service.

Comments

@nikolaifa
Copy link
Contributor

nikolaifa commented Jul 16, 2020

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Affected Resource(s)

  • aws_ram_principal_association

Terraform Configuration Files

Importing the resource per documentation (using an id for the principal)
terraform import aws_ram_principal_association.example arn:aws:ram:eu-west-1:123456789012:resource-share/73da1ab9-b94a-4ba3-8eb4-45917f7f4b12,123456789012

Results in Cannot import non-existent remote object. Cross account references might be the issue?
E.g.
referring to an organization, as the principal, which was in my case, per the AWS ARN, in another account.

The import worked when I imported with the principal ARN instead of the ID. I suggest updating the document advising the use of ARN instead of ID. Also testing whether this is a common issue for the resource.

@ghost ghost added the service/ram Issues and PRs that pertain to the ram service. label Jul 16, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 16, 2020
@breathingdust breathingdust added bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 21, 2021
@kautkata
Copy link

CLI command for principals ARN identification

aws --profile <profile name>--region <region> ram list-principals --resource-owner SELF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. service/ram Issues and PRs that pertain to the ram service.
Projects
None yet
Development

No branches or pull requests

3 participants