https://pulumi.com logo
#python
Title
# python
s

sparse-state-34229

03/15/2021, 5:10 AM
what’s up with the change from
get_ami
to
getAmi
? The former gives a deprecation warning but the latter raises an exception
b

broad-dog-22463

03/15/2021, 1:51 PM
hey @sparse-state-34229 it looks like the deprecation message may not be correct here in Python - it should be
ec2.get_ami
not
ec2.getAmi
We "moved" the package as it was a bad location initially for it - it's very ec2 specific BUT we are reviewing the need for the deprecation message here
Sorry for the added noise
s

sparse-state-34229

03/15/2021, 3:37 PM
ah okay I see
thank you!
b

broad-dog-22463

03/15/2021, 3:42 PM
sorry about that message 😕
s

sparse-state-34229

03/15/2021, 3:43 PM
all good, I thought maybe my pyenv was screwed up but glad to know it wasn’t me lol
b

broad-dog-22463

03/15/2021, 3:44 PM
100% not you 🙂