index
:
PythonPractice.git
master
practicing and learning Python
git daemon
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
aws-list-ec2.py
blob: 1a7fc5a7ad1a5132aac592d927ca16dd37f592c9 (
plain
)
1
2
3
4
5
import boto3 ec2 = boto3.resource('ec2') for i in ec2.instances.all(): print(i.id)