{"blog_title":"\u3088\u3046\u3078\u3044\u306e\u65e5\u3005\u7cbe\u9032XP","blog_url":"https://inokara.hateblo.jp/","provider_url":"https://hatena.blog","author_name":"inokara","version":"1.0","provider_name":"Hatena Blog","type":"rich","categories":["aws","\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u306a\u3093\u304b\u3057\u305f\u3044"],"title":"\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u5168\u3066\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u306e VPC ID \u3068\u30c7\u30d5\u30a9\u30eb\u30c8 VPC \u306e true or false \u3092\u53d6\u5f97\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finokara.hateblo.jp%2Fentry%2F2016%2F04%2F27%2F101123\" title=\"\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u5168\u3066\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u306e VPC ID \u3068\u30c7\u30d5\u30a9\u30eb\u30c8 VPC \u306e true or false \u3092\u53d6\u5f97\u3059\u308b - \u3088\u3046\u3078\u3044\u306e\u65e5\u3005\u7cbe\u9032XP\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"tl;dr \u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u306a\u3093\u304b\u3057\u305f\u3044\u30b7\u30ea\u30fc\u30ba\u3002 \u4eca\u56de\u306f\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc\u3067\u5168\u3066\u306e AWS \u30ea\u30fc\u30b8\u30e7\u30f3\u306e VPC ID \u3068\u30c7\u30d5\u30a9\u30eb\u30c8 VPC \u306e true or false \u3092\u53d6\u5f97\u3059\u308b\u3084\u3064\u3002 \u4eca\u65e5\u306e\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc for i in `aws --region ap-northeast-1 ec2 describe-regions --query 'Regions[].RegionName' --output text` do echo $i && aws --region $i ec2 describe-vpcs --query 'Vpcs[].{VPCID:VpcId, DefaultVPC:IsD\u2026","image_url":null,"published":"2016-04-27 10:11:23","url":"https://inokara.hateblo.jp/entry/2016/04/27/101123","author_url":"https://blog.hatena.ne.jp/inokara/","width":"100%","height":"190"}