$ terraform apply\ndata.aws_iam_policy_document.example: Reading...\ndata.aws_iam_policy_document.example: Read complete after 0s [id=133686337]\n\nTerraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:\n + create\n\nTerraform will perform the following actions:\n\n # aws_s3_bucket.example will be created\n + resource "aws_s3_bucket" "example" {\n + acceleration_status = (known after apply)\n + acl = (known after apply)\n + arn = (known after apply)\n + bucket = "example-bucket-name"\n + bucket_domain_name = (known after apply)\n + bucket_regional_domain_name = (known after apply)\n + force_destroy = false\n + hosted_zone_id = (known after apply)\n + id = (known after apply)\n\uff08\u7565\uff09\n }\n\n # aws_s3_bucket_policy.example will be created\n + resource "aws_s3_bucket_policy" "example" {\n + bucket = (known after apply)\n + id = (known after apply)\n + policy = jsonencode(\n {\n + Statement = [\n + {\n + Action = "s3:GetObject"\n + Effect = "Allow"\n + Principal = {\n + AWS = "arn:aws:iam::123456789012:user\/Alice"\n }\n + Resource = [\n + "arn:aws:s3:::example-bucket-name\/*",\n + "arn:aws:s3:::example-bucket-name",\n ]\n + Sid = "AllowGetObject"\n },\n ]\n + Version = "2012-10-17"\n }\n )\n }\n\nPlan: 2 to add, 0 to change, 0 to destroy.<\/code><\/pre><\/div>\n\n\n\u4eca\u5ea6\u306f\u30a8\u30e9\u30fc\u306a\u304f\u3001apply\u306e\u52d5\u4f5c\u306b\u5165\u3063\u3066\u304a\u308a\u3001\u30ea\u30bd\u30fc\u30b9\u304c\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n
\u307e\u3068\u3081<\/h2>\n\n\n
\u4ee5\u4e0a\u3001precondition\u306e\u4ed5\u7d44\u307f\u3092\u4f7f\u3063\u305f\u30ea\u30bd\u30fc\u30b9\u4f5c\u6210\u6642\u306e\u524d\u63d0\u6761\u4ef6\u306e\u8a2d\u5b9a\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n
\u3053\u306e\u6a5f\u80fd\u306f\u6bd4\u8f03\u7684\u65b0\u3057\u304f\u3001\u30ce\u30a6\u30cf\u30a6\u304c\u306a\u304b\u306a\u304b\u5c11\u306a\u3044\u3067\u3059\u304c\u3001\u4f7f\u3044\u3053\u306a\u305b\u3070\u304b\u306a\u308a\u4fbf\u5229\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002
\u3082\u3068\u3082\u3068\u3001\u30ea\u30bd\u30fc\u30b9\u540c\u58eb\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u691c\u51fa\u3057\u3066\u3001\u9806\u5e8f\u7acb\u3066\u3066\u30ea\u30bd\u30fc\u30b9\u4f5c\u6210\u3057\u3066\u304f\u308c\u308bterraform\u306e\u4ed5\u7d44\u307f\u306a\u3069\u306f\u4fbf\u5229\u306a\u3082\u306e\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u305d\u308c\u3067\u3082\u306a\u304b\u306a\u304b\u30ab\u30d0\u30fc\u3067\u304d\u306a\u304b\u3063\u305f\u500b\u3005\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u5c5e\u6027\u30fb\u5185\u5bb9\u306b\u5bfe\u3057\u3066\u524d\u63d0\u6761\u4ef6\u3092\u4f5c\u308c\u308b\u306e\u306fterraform apply\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u4e0a\u3067\u5927\u304d\u306a\u5229\u70b9\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n
\u305d\u3057\u3066\u3001\u30b3\u30fc\u30c9\u5185\u306e\u8a18\u8ff0\u3067\u300c\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u3069\u3046\u3042\u308b\u3079\u304d\u3068\u610f\u56f3\u3055\u308c\u3066\u3044\u308b\u304b\u300d\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5316\u304c\u9032\u3080\u306e\u3067\u3001\u30c1\u30fc\u30e0\u3067\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u3092\u884c\u3046\u969b\u306e\u52b9\u7387\u30a2\u30c3\u30d7\u3082\u671f\u5f85\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n
\u4eca\u56de\u3082Terraform\u3067\u30a4\u30f3\u30d5\u30e9\u5b9f\u88c5\u3092\u3057\u3066\u3044\u304f\u969b\u306e\u5b89\u5168\u3092\u9ad8\u3081\u308b\u305f\u3081\u306e\u30a2\u30a4\u30c7\u30a3\u30a2\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u76ee\u6b21 \u306f\u3058\u3081\u306b\u30d0\u30fc\u30b8\u30e7\u30f31.2.0\u306e\u65b0\u6a5f\u80fd\u4f8b1\uff1aEC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306e\u6307\u5b9aprecondition\u3092\u4f7f\u308f\u306a\u3044\u4f8bprecondition\u3092\u4f7f\u3063\u305f\u4f8b\u4f8b2\uff1aS3\u30d0\u30b1\u30c3\u30c8\u306e\u30dd\u30ea\u30b7\u30fc\u5185\u5bb9\u307e\u3068\u3081\u306f\u3058\u3081\u306b \u897f\u85e4\u3067\u3059\u3002 \u30bf […]<\/p>\n","protected":false},"author":1,"featured_media":3437,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jinr_url_youtube":"","_jinr_pip_youtube":false,"_jinr_time_youtube":"","_jinr_thumb_youtube":"","_jinr_media_youtube":"","_jinr_category_edit":false,"_jinr_category":"","_jinr_title_display":false,"_jinr_snsbutton_display":false,"_jinr_ads_display":false,"_jinr_thumbnail_display":false,"_jinr_profile_display":false,"_jinr_relatedpost_display":false,"_jinr_sidebar1col_display":false,"_jinr_sidebar2col_display":false,"_jinr_seotitle_display":"","_jinr_description_display":"","_jinr_keyword_display":"","_jinr_hastag_display":"","_jinr_canonical_display":"","_jinr_noindex_display":false,"_jinr_paidpost":false,"_jinr_paidpost_product_id":"","_jinr_headtag_article":""},"categories":[4],"tags":[16,60],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/4601"}],"collection":[{"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=4601"}],"version-history":[{"count":0,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/4601\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=4601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=4601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-mordpress.test.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=4601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}