mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 08:08:00 +00:00
[aws] Add a (dirty) function for showing cloudfront distributions
This commit is contained in:
parent
ac9843e2d4
commit
bca85497f8
@ -110,6 +110,14 @@ function aws_ssm_session_any {
|
||||
fi
|
||||
}
|
||||
|
||||
function aws_cf {
|
||||
local profile=$(_get_aws_profile)
|
||||
|
||||
aws cloudfront list-distributions --profile $profile --output ${_aws_output} \
|
||||
--query "DistributionList.Items[*].{id:Id,domain:DomainName,status:Status,
|
||||
origin:Origins.Items[].DomainName | join(' ', @), aliases:Aliases.Items | join(' ', @)}"
|
||||
}
|
||||
|
||||
# ~/.ssh/config
|
||||
#
|
||||
# Host i-*
|
||||
|
Loading…
Reference in New Issue
Block a user