{"provider_name":"Hatena Blog","description":"\u3044\u307e\u307e\u3067count\u3067\u8a18\u8ff0\u3057\u3066\u3044\u305f\u3082\u306e\u3092for_each\u306b\u76f4\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u30b9\u30d7\u30e9\u30c3\u30c8\u6f14\u7b97\u5b50\u306e\u52d5\u304d\u304c\u5909\u308f\u3063\u305f\u306e\u3067\u30e1\u30e2 \u72b6\u6cc1 \u3044\u307e\u307e\u3067\u306fVPC\u306e\u30b5\u30d6\u30cd\u30c3\u30c8\u30ea\u30bd\u30fc\u30b9\u3092count\u3067\u8907\u6570\u4f5c\u3063\u3066\u305d\u308c\u3092output\u3067\u4ed6\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u6e21\u3057\u3066\u5229\u7528\u3057\u3066\u304a\u308a\u307e\u3057\u305f resource \"aws_subnet\" \"private_data\" { count = length(var.azs) vpc_id = aws_vpc.vpc.id cidr_block = cidrsubnet(aws_vpc.vpc.cidr_block, 8, 11 + count.index) availability_zone = ele\u2026","blog_url":"https://blog.tocyuki.com/","blog_title":"Tocyuki\u306e\u30d6\u30ed\u30b0","image_url":null,"height":"190","title":" \u3010Terraform\u3011 count\u304b\u3089for_each\u3078\u66f8\u304d\u63db\u3048\u305f\u3089\u30b9\u30d7\u30e9\u30c3\u30c8\u6f14\u7b97\u5b50\u306e\u52d5\u304d\u304c\u5909\u308f\u3063\u305f","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tocguitar1/","width":"100%","url":"https://blog.tocyuki.com/entry/2020/12/20/015215","type":"rich","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tocyuki.com%2Fentry%2F2020%2F12%2F20%2F015215\" title=\" \u3010Terraform\u3011 count\u304b\u3089for_each\u3078\u66f8\u304d\u63db\u3048\u305f\u3089\u30b9\u30d7\u30e9\u30c3\u30c8\u6f14\u7b97\u5b50\u306e\u52d5\u304d\u304c\u5909\u308f\u3063\u305f - Tocyuki\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2020-12-20 01:52:15","categories":["Terraform","AWS"],"author_name":"tocguitar1"}