- jq
- pv
- docker or AWS CLI
If you have the AWS CLI already installed, change aws_fetch
to
aws_fetch () {
aws efs describe-file-systems --query 'FileSystems[*].FileSystemId' --no-paginate \
--no-cli-pager | jq . > file-system.json
}
and aws_delete
to
aws_delete () {
aws efs delete-file-system --no-cli-pager --file-system-id $1
}
AWS_DEFAULT_OUTPUT
is set to json
and AWS_PAGER
is set to ""
.