{"categories":[],"title":"ECR\u306e\u30a4\u30e1\u30fc\u30b8\u7ba1\u7406\u304c\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u305f","author_url":"https://blog.hatena.ne.jp/reizist/","width":"100%","url":"https://reizist.hatenablog.com/entry/2018/09/22/142935","image_url":null,"published":"2018-09-22 14:29:35","author_name":"reizist","provider_name":"Hatena Blog","blog_title":"reizist's blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Freizist.hatenablog.com%2Fentry%2F2018%2F09%2F22%2F142935\" title=\"ECR\u306e\u30a4\u30e1\u30fc\u30b8\u7ba1\u7406\u304c\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u305f - reizist&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://reizist.hatenablog.com/","version":"1.0","description":"\u4f55 ecs\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u52d5\u304b\u3059\u5834\u5408\u3001\u5927\u62b5\u306e\u5834\u5408\u306f\u81ea\u524d\u30a4\u30e1\u30fc\u30b8\u3092ecr\u306b\u7f6e\u304f\u3053\u3068\u306b\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 ecr\u306b\u306f 1000 images/ 1repo \u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u4fdd\u6709\u5236\u9650\u304c\u5b58\u5728\u3057\u3001\u5b9a\u671f\u7684\u306a\u30af\u30ea\u30fc\u30f3\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u6700\u8fd1\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304b\u306a\u308a\u5bfe\u5fdc\u3057\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u5171\u6709\u3067\u3059 \u3069\u3046\u3084\u308b\u306e ecr\u306b\u30e9\u30a4\u30d5\u30b5\u30a4\u30af\u30eb\u30dd\u30ea\u30b7\u30fc\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002terraform\u7684\u306b\u306f\u3053\u3046\u3067\u3059 resource \"aws_ecr_lifecycle_policy\" \"ecr_image_clean_lifecycle_policy\" { count = \"${ length(var.ecr-repos) }\" repos\u2026","type":"rich","provider_url":"https://hatena.blog","height":"190"}