2020-08-01ãã1ã¶æéã®è¨äºä¸è¦§
tl;dr aws ec2 describe-subnets --filter Name=vpc-id,Values=vpc-123456 \ --query "Subnets[*].[CidrBlock,(Tags[?Key=='Name'].Value)[0]]" \ --output text | sort -V 10.0.0.0/22 public-subnet-ap-northeast-1a 10.0.4.0/22 public-subnet-ap-northeaâ¦