前提:
- awscli,jqが入っていること。
- aws configureかRoleでクレデンシャルが設定されていること
$ aws redshift describe-clusters | jq -r '.Clusters[].ClusterNodes[]|select(.NodeRole | contains("COMPUTE-"))|.PublicIPAddress'
Go to list of users who liked
More than 5 years have passed since last update.
前提:
$ aws redshift describe-clusters | jq -r '.Clusters[].ClusterNodes[]|select(.NodeRole | contains("COMPUTE-"))|.PublicIPAddress'
Register as a new user and use Qiita more conveniently
Go to list of users who liked