UPD: adding iam roles

This commit is contained in:
xpk 2021-11-29 16:33:17 +08:00
parent 607f5631ae
commit 2b03e20ecc
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -28,3 +28,6 @@ aws eks list-clusters | jq '.[][]' | awk -F/ '{print $NF}' | nl
echo "# CloudFront"
aws cloudfront list-distributions --query 'DistributionList.Items[*].[DomainName]' --output text | nl
echo "# IAM roles"
aws iam list-roles | jq -cr '.Roles[] | .RoleName' | grep -v AWSServiceRoleFor | nl