summarylogtreecommitdiffstats
path: root/PATCH
blob: f06853a79aae7d0b6ef525cca70b6776bfcc249d (plain)
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
--- awj.orig	2019-06-22 09:23:35.661342954 +0900
+++ awj	2019-06-22 09:24:45.857170666 +0900
@@ -1,17 +1,3 @@
-awj() {
-  $(echo "describe_stacks
-describe_stack_url
-describe_change_set_url
-describe_ec2
-describe_elb
-describe_alb
-describe_lambda
-describe_rds
-describe_s3
-describe_logs
-describe_aws_batch_jobs" | peco)
-}
-
 describe_stacks() {
   STACK_NAME=`aws cloudformation describe-stacks | \
       jq -r '.Stacks[] | [.StackName, .StackStatus] | @tsv' | \
@@ -92,3 +78,15 @@
     echo "$JOB"
     aws batch describe-job-definitions --job-definition-name $JOB
 }
+
+$(echo "describe_stacks
+describe_stack_url
+describe_change_set_url
+describe_ec2
+describe_elb
+describe_alb
+describe_lambda
+describe_rds
+describe_s3
+describe_logs
+describe_aws_batch_jobs" | peco)