-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_ec2_describe_outputs.pl
executable file
·60 lines (45 loc) · 1.36 KB
/
get_ec2_describe_outputs.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/perl
use strict;
open (STDERR, ">&STDOUT");
print "\n";
print "CMD : ec2-describe-addresses\n\n";
system("ec2-describe-addresses");
print "\n";
print "CMD : ec2-describe-availability-zones\n\n";
system("ec2-describe-availability-zones");
print "\n";
print "CMD : ec2-describe-bundle-tasks\n\n";
system("ec2-describe-bundle-tasks");
print "\n";
print "CMD : ec2-describe-group\n\n";
system("ec2-describe-group");
print "\n";
print "CMD : ec2-describe-image-attribute\n\n";
system("ec2-describe-image-attribute");
print "\n";
print "CMD : ec2-describe-images\n\n";
system("ec2-describe-images");
print "\n";
print "CMD : ec2-describe-instances\n\n";
system("ec2-describe-instances");
print "\n";
print "CMD : ec2-describe-keypair\n\n";
system("ec2-describe-keypairs");
print "\n";
print "CMD : ec2-describe-regions\n\n";
system("ec2-describe-regions");
print "\n";
print "CMD : ec2-describe-reserved_instances\n\n";
system("ec2-describe-reserved-instances");
print "\n";
print "CMD : ec2-describe-instances-offerings\n\n";
system("ec2-describe-reserved-instances-offerings");
print "\n";
print "CMD : ec2-describe-snapshots\n\n";
system("ec2-describe-snapshots");
print "\n";
print "CMD : ec2-describe-volumes\n\n";
system("ec2-describe-volumes");
print "\n";
print "CMD : ec2-describe-availability-zones coredump\n\n";
system("ec2-describe-availability-zones coredump");