回答編集履歴

1

修正

2017/07/28 01:27

投稿

moonphase
moonphase

スコア6621

test CHANGED
@@ -4,8 +4,16 @@
4
4
 
5
5
  ```
6
6
 
7
- aws ec2 describe-volumes --region ap-northeast-1 | jq -r '.Volumes[] | select(.Attachments[].AttachTime < "2016-10-31T15:00:00.000Z") | .VolumeId'
7
+ aws ec2 describe-volumes --region ap-northeast-1 | jq -r '.Volumes[] | select(.Attachments[].CreateTime < "2016-10-31T15:00:00.000Z") | .VolumeId'
8
8
 
9
9
  ```
10
10
 
11
11
  時間はUTC時間なので、日本時間から9時間引いています。
12
+
13
+
14
+
15
+ # 追記
16
+
17
+
18
+
19
+ AttachTimeではなくCreateTimeに修正しました