1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00

[aws] Add date to aws_ami function output

This commit is contained in:
Daniel Carrillo 2019-12-01 18:31:29 +01:00
parent ef3e9eda18
commit a251bd2fb9

View File

@ -67,7 +67,7 @@ function aws_ag {
function aws_ami { function aws_ami {
local profile=$(_get_aws_profile) local profile=$(_get_aws_profile)
aws ec2 describe-images --profile $profile --output ${_aws_output} \ 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 { function aws_kms_decrypt {