Update find-exposed-resources.sh

This commit is contained in:
Mariusz B 2020-04-15 12:33:57 +02:00 committed by GitHub
parent 505cb43355
commit 7e8bb99f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ function rds_snapshots() {
function ami_images() { function ami_images() {
out=$(_aws ec2 describe-images --owners self --executable-users all) out=$(_aws ec2 describe-images --owners self --executable-users all)
if ! echo "$out" | grep -q '": \[\]'; then if ! echo "$out" | grep -q '": \[\]'; then
echo "---[ Public RDS Snapshots" echo "---[ Public AMI Images"
echo "$out" echo "$out"
echo echo
fi fi