Documentation related question: <https://www.pulu...
# aws
h
Documentation related question: https://www.pulumi.com/registry/packages/aws/api-docs/ec2/instance/#basic-example-using-ami-lookup This example shows
ec2.*LookupAmi*
function, but I cannot find its syntax described elsewhere.
Yet, in the AWS package in the left navigation pane with all resources, there's a function link - https://www.pulumi.com/registry/packages/aws/api-docs/ec2/getami/ And it contains this again:
_, err *:=* ec2.*LookupAmi*(ctx, *&*ec2.LookupAmiArgs{
Oh.... found the _fineprint_:
> Note: This function is named
LookupAmi
in the Go SDK.
🤦 but why??
Can you at least make more informative search?