{"id":1411,"date":"2019-09-19T14:34:37","date_gmt":"2019-09-19T11:34:37","guid":{"rendered":"https:\/\/artem.services\/?p=1411"},"modified":"2020-03-02T17:06:15","modified_gmt":"2020-03-02T14:06:15","slug":"fix-error-terraform-blocks-of-type-tags-are-not-expected-here","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1411","title":{"rendered":"FIX ERROR &#8212; Terraform: Blocks of type &quot;tags&quot; are not expected here."},"content":{"rendered":"<p>\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c <strong><em>terraform plan<\/em><\/strong> \u0438\u043b\u0438 <strong><em>terraform apply<\/em><\/strong>, terraform \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<pre>Error: Unsupported block type\r\n\r\nBlocks of type \"tags\" are not expected here. Did you mean to define argument\r\n\"tags\"? If so, use the equals sign to assign it a value.<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435:<\/h3>\n<p>\u0412 <strong>terraform<\/strong> \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u043d\u0438\u0436\u0435 <strong>12<\/strong>-\u043e\u0439 \u0434\u043b\u044f &quot;<strong>tags<\/strong>&quot; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n  tags {\r\n    Name = &quot;MY_TAG_NAME&quot;\r\n  }\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043b\u0435 &quot;<strong>tags<\/strong>&quot; \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c &quot;<strong>=<\/strong>&quot;<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n  tags = {\r\n    Name = &quot;MY_TAG_NAME&quot;\r\n  }\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c terraform plan \u0438\u043b\u0438 terraform apply, terraform \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443: Error: Unsupported block type Blocks of type &quot;tags&quot; are not expected here. Did you mean to define argument &quot;tags&quot;? If so, use the equals sign to assign it a value. &nbsp; \u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u0412 terraform \u0432\u0435\u0440\u0441\u0438\u044f\u0445 \u043d\u0438\u0436\u0435 12-\u043e\u0439 \u0434\u043b\u044f &quot;tags&quot; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441: &nbsp; &hellip; <a href=\"https:\/\/artem.services\/?p=1411\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u044c<span class=\"screen-reader-text\"> &quot;FIX ERROR &#8212; Terraform: Blocks of type &quot;tags&quot; are not expected here.&quot;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[49],"tags":[51,50,1125,14],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1411"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1411"}],"version-history":[{"count":2,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1411\/revisions"}],"predecessor-version":[{"id":1603,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1411\/revisions\/1603"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}