rename to make more consistent
This commit is contained in:
@@ -54,7 +54,7 @@ def review_encrypted_volumes():
|
|||||||
print("CTRL-C received, exiting...")
|
print("CTRL-C received, exiting...")
|
||||||
|
|
||||||
|
|
||||||
def get_instance_details():
|
def describe_instances():
|
||||||
try:
|
try:
|
||||||
for region in regions:
|
for region in regions:
|
||||||
client = boto3.client('ec2', region_name=region)
|
client = boto3.client('ec2', region_name=region)
|
||||||
@@ -78,7 +78,7 @@ def get_instance_details():
|
|||||||
print("CTRL-C received, exiting...")
|
print("CTRL-C received, exiting...")
|
||||||
|
|
||||||
|
|
||||||
def get_instance_details_basic():
|
def describe_instances_basic():
|
||||||
try:
|
try:
|
||||||
for region in regions:
|
for region in regions:
|
||||||
client = boto3.client('ec2', region_name=region)
|
client = boto3.client('ec2', region_name=region)
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ InstanceID: i-XXXXXXXXXXXXXXX, InstanceType: t2.micro, State: {'Code': 80, 'Name
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
def step_ec2_get_instances_basic():
|
def step_ec2_describe_instances_basic):
|
||||||
get_instance_details_basic()
|
describe_instances_basic()
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@@ -21,8 +21,8 @@ All info about each EC2 instance
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
def step_ec2_get_instances_detailed():
|
def step_ec2_describe_instances():
|
||||||
get_instance_details()
|
describe_instances()
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user