docs icon indicating copy to clipboard operation
docs copied to clipboard

Document ID format for .get function calls

Open clstokes opened this issue 4 years ago • 0 comments

Problem description

All of our resource types have a .get() function to lookup existing resources, but the id format is "opaque" - e.g. The unique provider ID of the resource to lookup..

For example, for aws.ec2.Vpc.get() the Id is the VPC id (e.g. vcp-abc123), but for aws.lambda.Function.get() I expect the Id is actually the ARN of the function.

Suggestions for a fix

We should provide more information on the expected format of the id for each resource type.

clstokes avatar Aug 25 '20 21:08 clstokes