{"blog_title":"orenoblog","published":"2015-11-19 10:09:57","author_name":"buta9999","provider_name":"Hatena Blog","width":"100%","blog_url":"https://buta9999.hatenablog.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbuta9999.hatenablog.jp%2Fentry%2F2015%2F11%2F19%2F100957\" title=\" aws_volume_attachment\u30ea\u30bd\u30fc\u30b9\u5b9f\u884c\u5f8c\u306bEBS\u306b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u308a\u305f\u3044 - orenoblog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","title":" aws_volume_attachment\u30ea\u30bd\u30fc\u30b9\u5b9f\u884c\u5f8c\u306bEBS\u306b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u308a\u305f\u3044","type":"rich","author_url":"https://blog.hatena.ne.jp/buta9999/","url":"https://buta9999.hatenablog.jp/entry/2015/11/19/100957","version":"1.0","categories":["terraform"],"description":"\u4ffa\u3067\u3059\u3002 remote-exec\u3068\u3044\u3046provisioner\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306eprovisioner\u306fresource\u5185\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u306e\u3067aws_ebs_volume\u3067\u4f5c\u6210\u3057\u305fEBS\u3092aws_volume_attachment\u3067\u30bf\u30fc\u30b2\u30c3\u30c8\u306eEC2\u3078Attach\u3057\u305f\u5f8c\u306b\u3001 mkfs\u3068mount\u3067\u30aa\u30e9\u30aa\u30e9\u3067\u304d\u307e\u3059\u3002 chef\u3068\u304bansible\u3068\u304b\u9762\u5012\u306b\u306a\u3063\u3066\u4f5c\u308a\u3063\u3071\u306a\u3057\u3067\u5b8c\u7d50\u3059\u308b\u306a\u3089remote-exec\u6700\u9ad8\u3002 \u4ee5\u4e0b\u5b9a\u7fa9\u4f8b ebs.tf resource \"aws_ebs_volume\" \"prd-manage_volume-1a\" { availability_zone = \"${var.regi\u2026","provider_url":"https://hatena.blog","image_url":null}