This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import sys | |
import pprint | |
# Let's use Amazon S3 | |
ec2 = boto3.client('ec2') | |
ec2Res = boto3.resource('ec2') | |
if len(sys.argv) < 2: | |
print("No argument provided ... just listing") |