Join Slack
Powered by
I have all the modules install still getting this ...
# general
f
flat-lamp-55912
08/29/2019, 12:20 PM
I have all the modules install still getting this error. Not sure if I am still missing module/code to reference from. I'm testing only to create a single ec2 instance
ImportError: cannot import name 'get_linux_ami' from 'ami'
f
future-barista-68134
08/29/2019, 2:38 PM
Add a file named ami.py from the example on github:
https://github.com/pulumi/examples/blob/master/aws-py-webserver/ami.py
future-barista-68134
08/29/2019, 3:38 PM
you can alternatively hardcode the ami value to
ami-0ff8a91507f77f867
like the other language examples
future-barista-68134
08/29/2019, 3:41 PM
here's the pull request that will update the tutorial to fix this
https://github.com/pulumi/docs/pull/1653
Open in Slack
Previous
Next