kind-jelly-61624
01/26/2023, 8:42 PMAttributeError: 'NoneType' object has no attribute 'Invoke'
Not sure if this is how it’s intended to run or if it’s a bug. I’m using python.
so my main.py has this:
instance_type = my_component.ec2.get_instance_size("small")
and the get_instance_size function has this:
a = aws.ec2.get_ami(...)
which fails with the NoneType errorgreen-stone-37839
01/28/2023, 12:11 AMpulumi up/pre
or something else like a unit test?pulumi.runtime
object resolved to None
kind-jelly-61624
01/30/2023, 5:40 PMgreen-stone-37839
01/30/2023, 5:41 PMvenv
issue. I can't see any other reason the pulumi.runtime
object would be None
.