Test iot certs' validity dates
This commit is contained in:
parent
e94a3e39df
commit
457b18b2db
9 changed files with 38 additions and 27 deletions
|
|
@ -26,9 +26,7 @@ def main():
|
|||
instances.extend(offerings["InstanceTypes"])
|
||||
next_token = offerings.get("NextToken", "")
|
||||
while next_token:
|
||||
offerings = ec2.describe_instance_types(
|
||||
NextToken=next_token
|
||||
)
|
||||
offerings = ec2.describe_instance_types(NextToken=next_token)
|
||||
instances.extend(offerings["InstanceTypes"])
|
||||
next_token = offerings.get("NextToken", None)
|
||||
except Exception:
|
||||
|
|
@ -39,7 +37,7 @@ def main():
|
|||
print("Parsing data")
|
||||
result = {}
|
||||
for instance in instances:
|
||||
result[instance.get('InstanceType')] = instance
|
||||
result[instance.get("InstanceType")] = instance
|
||||
|
||||
root_dir = (
|
||||
subprocess.check_output(["git", "rev-parse", "--show-toplevel"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue