https://pulumi.com logo
#aws
Title
# aws
h

handsome-businessperson-23021

01/11/2024, 12:54 AM
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?