From a251bd2fb9b2afae9820c545ce1c0f55e053fe48 Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Sun, 1 Dec 2019 18:31:29 +0100 Subject: [PATCH] [aws] Add date to aws_ami function output --- modules/aws/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aws/init.zsh b/modules/aws/init.zsh index 148dfa5..6bc5c12 100644 --- a/modules/aws/init.zsh +++ b/modules/aws/init.zsh @@ -67,7 +67,7 @@ function aws_ag { function aws_ami { local profile=$(_get_aws_profile) aws ec2 describe-images --profile $profile --output ${_aws_output} \ - --owner self --query 'Images[*].{id:ImageId,name:Name,virt:VirtualizationType,st:State}' + --owner self --query 'Images[*].{date:CreationDate,id:ImageId,name:Name,virt:VirtualizationType,st:State}' } function aws_kms_decrypt {