Amazon Web Services (AWS)
Miscellaneous export AWS_PROFILE=your_AWS_profile export AWS_DEFAULT_REGION=us-east-1 export account_id=$(aws sts get-caller-identity --output json | jq -r .Account) aws ec2 describe-snapshots --owner-ids $account_id | jq -r '.Snapshots[] | .VolumeId,.SnapshotId' aws ec2 describe-volumes | jq -r '.Volumes[] | .VolumeId' aws ec2 describe-volumes | jq '.Volumes[] | select(.Tags[].Value == "*mongo*")' aws ec2 describe-snapshots --filters 'Name=status,Values=pending' aws ec2 describe-volumes --filters 'Name=tag:Name,Values=*mongo*' --query 'Volumes[*].VolumeId' aws s3 cp "s3://${bucket_name}/${NAME}/pki/issued/ca/" . --recursive --exclude '*' --include '*.crt' for ssm_param in $(aws ssm describe-parameters | jq -r ....