Hacker News new | ask | show | jobs
by aexaey 3948 days ago
Thanks for introducing me to boto3. Being able to write compact and powerful stuff like:

print [i.console_output()['Output'] for i in boto3.resource('ec2').instances.filter(Filters=[{'Name': 'tag:Name', 'Values': ['frontend17']}])][0]

...is pretty awsesome!

1 comments

I love boto, but when I filed the issue and received the answer from a committer, I decided to move to boto3. I can understand the situation but, boto seems to be be strictly backward compatible. So let's move on to boto3 and have nice Resource API with all AWS services.

https://github.com/boto/boto/pull/3186