with pulumi `v2.22.0` and pulumi-aws `3.32.2`: ```...
# python
with pulumi
and pulumi-aws `3.32.2`:
Copy code
File "/Users/scott/Library/Caches/pypoetry/virtualenvs/pulumi-stacks-6O2qUYd5-py3.9/lib/python3.9/site-packages/hatch_pulumi/aws/launch_template.py", line 37, in __attrs_post_init__
        self.ami = self.ami or ec2.getAmi(**self.ami_filter).id
    AttributeError: module 'pulumi_aws.ec2' has no attribute 'getAmi'
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
Hi @sparse-state-34229, The getami call changed in I used the ec2.getami. Here is a sample code block
Also, here is a full example in python that will help
right and I am on
. you can see in the exception I pasted I am calling it in the same way as you linked, too
not sure what’s wrong - really confusing
thanks for the assistance though!