LoginSignup
3
3

More than 5 years have passed since last update.

RedshiftのCompute NodesのPublic IP一覧を取得するワンライナー

Posted at

前提:

  • awscli,jqが入っていること。
  • aws configureかRoleでクレデンシャルが設定されていること
$ aws redshift describe-clusters | jq -r '.Clusters[].ClusterNodes[]|select(.NodeRole | contains("COMPUTE-"))|.PublicIPAddress'
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3