{"version":"1.0","height":"190","url":"https://inokara.hateblo.jp/entry/2016/11/23/121220","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finokara.hateblo.jp%2Fentry%2F2016%2F11%2F23%2F121220\" title=\"\u307b\u306e\u307c\u306e Rake \u30bf\u30b9\u30af\u3067 S3 \u306e\u30d0\u30b1\u30c3\u30c8\u30dd\u30ea\u30b7\u30fc\u3092\u3061\u3087\u3063\u3068\u7ba1\u7406\u3059\u308b\uff08\u8868\u793a\u3068 export \u3068 diff \u3068 update \u3059\u308b\u3060\u3051\uff09 - \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>","author_name":"inokara","title":"\u307b\u306e\u307c\u306e Rake \u30bf\u30b9\u30af\u3067 S3 \u306e\u30d0\u30b1\u30c3\u30c8\u30dd\u30ea\u30b7\u30fc\u3092\u3061\u3087\u3063\u3068\u7ba1\u7406\u3059\u308b\uff08\u8868\u793a\u3068 export \u3068 diff \u3068 update \u3059\u308b\u3060\u3051\uff09","published":"2016-11-23 12:12:20","description":"\u6700\u8fd1 \u30bf\u30b9\u30af Rakefile \u4f7f\u3044\u65b9 \u6700\u5f8c\u306b \u30d0\u30b1\u30e9\u30c3\u30bf Rake \u3063\u3066 \u6700\u8fd1 \u30ae\u30e7\u30fc\u30e0\u3067 S3 \u30d0\u30b1\u30c3\u30c8\u3092\u66f4\u65b0\u3059\u308b\u4f5c\u696d\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u307b\u306e\u307c\u306e Rake \u30bf\u30b9\u30af\u3067\u6c4e\u7528\u7684\u306b\u7ba1\u7406\u51fa\u6765\u308b\u611f\u3058\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u30bf\u30b9\u30af Rakefile require 'aws-sdk' require 'diffy' require 'json' POLICY_DIR='policies/' def s3 Aws.config[:credentials] = Aws::SharedCredentials.new(profile_name: '\u3042\u306a\u305f\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb') Aws::S3::Client.new(regi\u2026","blog_url":"https://inokara.hateblo.jp/","type":"rich","width":"100%","blog_title":"\u3088\u3046\u3078\u3044\u306e\u65e5\u3005\u7cbe\u9032XP","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inokara/","categories":["rake","ruby","aws","S3"]}