Update documentation for aws_ram_principal_association #14202
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.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
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.
The text was updated successfully, but these errors were encountered: