docs
docs copied to clipboard
Document ID format for .get function calls
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.