{"id":54449,"date":"2022-10-27T11:00:50","date_gmt":"2022-10-27T02:00:50","guid":{"rendered":"https:\/\/www.creationline.com\/?p=54449"},"modified":"2022-11-30T09:25:49","modified_gmt":"2022-11-30T00:25:49","slug":"pulumi-%e3%83%aa%e3%82%bd%e3%83%bc%e3%82%b9%e7%ae%a1%e7%90%86%e3%81%ae%e4%bb%95%e7%b5%84%e3%81%bf-architecture-%e3%81%a4%e3%81%84%e3%81%a6%e8%aa%bf%e6%9f%bb%e3%81%97%e3%81%a6%e3%81%bf%e3%81%be","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449","title":{"rendered":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go"},"content":{"rendered":"<p>\nterraform\u3084Ansible\u3001AWS CloudFormation\u306a\u3069\u3001\u30af\u30e9\u30a6\u30c9\u30ea\u30bd\u30fc\u30b9\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\uff08\u307e\u305f\u306f\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\uff09\u306e\u985e\u4f3c\u30c4\u30fc\u30eb\u3068\u306a\u308b<a href=\"https:\/\/www.pulumi.com\/\">Pulumi<\/a>\u306earchitecture\u6982\u8981\u3084\u3001\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u7ba1\u7406\u3057\u3066\u3044\u308b\u304b\u3001\u5c11\u3057\u6df1\u6398\u308a\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u672c\u8a18\u4e8b\u306e\u5f8c\u534a\u3067\u306f\u65e2\u306b\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u306ePulumi\u7ba1\u7406\u65b9\u6cd5\u306b\u3064\u3044\u3066\u691c\u8a3c\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u521d\u3081\u3066Pulumi\u3092\u89e6\u308b\u65b9\u306f\u3001Pulumi\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u5b9f\u65bdblog\u3092<a href=\"\/lab\/54202\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3067\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<h2>\u76ee\u6b21<\/h2>\n<div id=\"tableOfContent\" style=\"color: #333333;background: #F7F7F7;list-style-type: none;font-weight: bold;border: solid 3px #CCCCCC;padding: 0.5em 1em;margin: 0 0 40px\">\n<ul style=\"margin-bottom: 0\">\n<li><a href=\"#01\">Pulumi architecture\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u7ba1\u7406\u306b\u3064\u3044\u3066<\/a>\n<ul style=\"margin-bottom: 0\">\n<li><a href=\"#01-01\">Pulumi\u306e\u4e3b\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\/Stack\u3068State<\/a><\/li>\n<li><a href=\"#01-02\">Pulumi\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u66f4\u65b0\u306e\u6d41\u308c<\/a><\/li>\n<li><a href=\"#01-03\">Pulumi architecture<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#02\">\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u3092Pulumi\u3067\u7ba1\u7406\u3059\u308b<\/a>\n<ul style=\"margin-bottom: 0\">\n<li><a href=\"#02-01\">state import\u306b\u3064\u3044\u3066<\/a><\/li>\n<li><a href=\"#02-02\">\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u308b<\/a>\n<ul style=\"margin-bottom: 0\">\n<li><a href=\"#02-02-01\">import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u4ed8\u4e0e\u3057\u306a\u3044\u5834\u5408\u306ePulumi up<\/a><\/li>\n<li><a href=\"#02-02-02\">import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u4ed8\u4e0e\u3057\u305f\u5834\u5408\u306ePulumi up<\/a><\/li>\n<li><a href=\"#02-02-03\">Pulumi\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308bimport<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#03\">\u305d\u306e\u4ed6state\u95a2\u9023\u64cd\u4f5c\u306b\u3064\u3044\u3066<\/a>\n<ul style=\"margin-bottom: 0\">\n<li><a href=\"#03-01\">pulumi state delete [URN]<\/a><\/li>\n<li><a href=\"#03-02\">pulumi preview<\/a><\/li>\n<\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#04\">\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n<\/div>\n<h2 id=\"01\">Pulumi architecture\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u7ba1\u7406\u306b\u3064\u3044\u3066<\/h2>\n<h3 id=\"01-01\">Pulumi\u306e\u4e3b\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\/Stack\u3068State (<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/\">\u53c2\u8003<\/a>)<\/h3>\n<p><a href=\"\/lab\/54202\">\u524d\u56deblog<\/a>\u3067\u89e6\u308c\u305fPulumi\u306e\u4e3b\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u4ee5\u4e0b\u306b\u518d\u63b2\u3057\u307e\u3059<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/1_pulumi-concept-1024x739.png\" alt=\"1_pulumi-concept\" width=\"1024\" height=\"739\" class=\"aligncenter size-large wp-image-53963\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/1_pulumi-concept-1024x739.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/1_pulumi-concept-360x260.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/1_pulumi-concept-768x554.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/1_pulumi-concept.png 1184w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<div id=\"component\" style=\"background: #F7F7F7;margin: 0 0 30px 0\">\n\u30fb <b>Program<\/b> \u2192 \u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u3042\u308b\u3079\u304d\u59ff\u3092\u5b9a\u7fa9\u3057\u305f\u3082\u306e<br \/>\n\u30fb <b>Resource<\/b> \u2192 \u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3092\u69cb\u6210\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8(\u5b9f\u969b\u306e\u30a4\u30f3\u30d5\u30e9\u30ea\u30bd\u30fc\u30b9)\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3(\u8a2d\u5b9a\u5024)\u306f\u4ed6\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5171\u6709\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd(\u56f3\u306eInputs\/Outputs\u306e\u90e8\u5206)<br \/>\n\u30fb <b>Project<\/b> \u2192 Program\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3068\u30e1\u30bf\u30c7\u30fc\u30bf(\u3069\u306e\u3088\u3046\u306bProgram\u3092\u52d5\u304b\u3059\u304b\u306e\u60c5\u5831)\u3092\u683c\u7d0d\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<br \/>\n\u30fb <b>Stack<\/b> \u2192 Project\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067Program\u3092\u300cpulumi up\u300d(Pulumi CLI) \u3057\u305f\u5f8c\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3002\u540c\u4e00\u306eProgram\u304b\u3089\u672c\u756a\u74b0\u5883\/\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u306a\u3069\u3001\u7528\u9014\u306b\u5fdc\u3058\u3066\u8907\u6570\u306e\u74b0\u5883\u7528\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u53ef\u80fd\n<\/div>\n<p>Stack\u306f\u672c\u756a\u74b0\u5883\u7528\u3084\u30c6\u30b9\u30c8\u74b0\u5883\u7528\u306a\u3069\u3001\u69d8\u3005\u306a\u7528\u9014\u3067Stack\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306eStack\u3054\u3068\u306b\u3001\u73fe\u5728\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306b\u95a2\u3059\u308b\u60c5\u5831\u304cjson\u3067\u8a18\u9332\u3055\u308c\u3066\u3044\u3066\u3001\u3053\u308c\u3092\u300cState\u300d\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>[state\u306e\u4f8b]<\/p>\n<pre class=\"EnlighterJSRAW\">\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-13T17:36:36.814054+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;,\r\n                &quot;outputs&quot;: {\r\n                    &quot;bucketEndpoint&quot;: &quot;http:\/\/storage.googleapis.com\/my-bucket-b5f5f89\/index.html-*****&quot;,\r\n                    &quot;bucketName&quot;: &quot;gs:\/\/my-bucket-b5f5f89&quot;\r\n                }\r\n            },\r\n<\/pre>\n<\/p>\n<p>Pulumi\u306fState\u304b\u3089\u3001\u305d\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u304c\u3044\u3064\u3069\u306e\u3088\u3046\u306b\u4f5c\u6210\/\u524a\u9664\/\u8aad\u307f\u53d6\u308a\/\u66f4\u65b0\u3055\u308c\u305f\u304b\u306a\u3069\u306e\u60c5\u5831\u3092\u8aad\u307f\u53d6\u308a\u3001\u300cpulumi up\u300d\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u6642\u306e\u30a2\u30af\u30b7\u30e7\u30f3(\u6b21\u306f\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210\/\u66f4\u65b0\u307e\u305f\u306f\u524a\u9664\u3059\u3079\u304d\u304b\u3069\u3046\u304b)\u3092\u6c7a\u5b9a\u3057\u307e\u3059<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u73fe\u5728\u306eState\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u5b9f\u969b\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059<\/p>\n<div id=\"premise\" style=\"background: #FFF0F5;margin: 0 0 40px 0\">\n[\u524d\u63d0]<br \/>\n\u30fb macOS v11.6.4<br \/>\n\u30fb go1.18.3 darwin\/amd64<br \/>\n\u30fb Pulumi v3.39.1<br \/>\n\u30fb <a href=\"\/lab\/54202\">\u524d\u56de\u306eblog<\/a>\u306a\u3069\u3067\u3042\u3089\u304b\u3058\u3081Stack\u304c\u4f5c\u6210\u3055\u308c\u305f\u72b6\u614b\n<\/div>\n<ul>\n<li>\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\u306aStack\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack ls\r\nNAME  LAST UPDATE  RESOURCE COUNT  URL\r\ndev   1 hour ago   5               https:\/\/app.pulumi.com\/****\/quickstart2\/dev\r\nstg*  n\/a          n\/a             https:\/\/app.pulumi.com\/****\/quickstart2\/stg\r\n<\/pre>\n<li>\u4eca\u56de\u306f\u300cdev\u300dStack\u306eState\u3092\u53d6\u5f97\u3059\u308b\u306e\u3067\u3001\u300cdev\u300dStack\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u9078\u629e\u5f8c\u306f\u518d\u5ea6stack ls\u3067\u300cdev\u300dstack\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack select dev\r\n\r\n$ pulumi stack ls\r\nNAME  LAST UPDATE  RESOURCE COUNT  URL\r\ndev*  1 hour ago   5               https:\/\/app.pulumi.com\/****\/quickstart2\/dev\r\nstg   n\/a          n\/a             https:\/\/app.pulumi.com\/****\/quickstart2\/stg\r\n<\/pre>\n<li>\u300cpulumi stack export\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u73fe\u5728\u306eStack\u3067State\u3092\u6a19\u6e96\u51fa\u529b\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-13T17:36:36.814054+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;,\r\n                &quot;outputs&quot;: {\r\n                    &quot;bucketEndpoint&quot;: &quot;http:\/\/storage.googleapis.com\/my-bucket-b5f5f89\/index.html-12e5385&quot;,\r\n                    &quot;bucketName&quot;: &quot;gs:\/\/my-bucket-b5f5f89&quot;\r\n                }\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;80738ccf-25df-4478-8b0a-f6c4c3a15dba&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;\r\n            },\r\n~~~~~~(\u7565)~~~~~~\r\n<\/pre>\n<p>\u307e\u305f\u3001State\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066Pulumi service (GUI) \u3067\u3082\u300c\u3044\u3064\u3069\u306e\u3088\u3046\u306b\u4f5c\u6210\/\u524a\u9664\/\u8aad\u307f\u53d6\u308a\/\u66f4\u65b0\u3055\u308c\u305f\u304b\u300d\u304c\u8996\u899a\u7684\u306b\u5206\u304b\u308a\u3084\u3059\u3044\u5f62\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<li>\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068Pulumi service\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u5b9f\u884c\u524d\u306b\u30ed\u30b0\u30a4\u30f3\u304c\u6e08\u3093\u3067\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3053\u3067\u4e00\u5ea6\u30ed\u30b0\u30a4\u30f3\u51e6\u7406\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi console\r\nManage your Pulumi stacks by logging in.\r\nRun `pulumi login --help` for alternative login options.\r\nEnter your access token from https:\/\/app.pulumi.com\/account\/tokens\r\n    or hit  to log in using your browser                   :\r\n<\/pre>\n<li>pulumi service\u753b\u9762\u306e\u300cStack\u300d\u30bf\u30d6\u306b\u79fb\u52d5\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u5909\u66f4\u5c65\u6b74\u6b04\u53f3\u5074\u306e[Details]\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-1024x382.png\" alt=\"\" width=\"1024\" height=\"382\" class=\"aligncenter size-large wp-image-55148\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-1024x382.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-360x134.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-768x286.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-1536x573.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_1_pulumi-detail-2048x763.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<li>\u4e00\u756a\u76f4\u8fd1\u306epulumi\u5b9f\u884c\u5c65\u6b74(activity)\u304c\u8868\u793a\u3055\u308c\u307e\u3059<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-1024x488.png\" alt=\"\" width=\"1024\" height=\"488\" class=\"aligncenter size-large wp-image-55151\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-1024x488.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-360x172.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-768x366.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-1536x732.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_2_pulumi-activitystate-2048x976.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<\/ul>\n<h3 id=\"01-02\">Pulumi\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u66f4\u65b0\u306e\u6d41\u308c (<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/how-pulumi-works\/\">\u53c2\u8003<\/a>)<\/h3>\n<p>Pulumi\u306b\u304a\u3051\u308bState\u3092\u7528\u3044\u305f\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u7ba1\u7406\u306e\u5177\u4f53\u7684\u306a\u30d5\u30ed\u30fc\u306b\u3064\u3044\u3066\u3001<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/how-pulumi-works\/#how-pulumi-works\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3092\u53c2\u8003\u306b\u8aac\u660e\u7528\u306e\u56f3\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u306e\u3067\u4ee5\u4e0b\u63b2\u8f09\u3057\u307e\u3059\u3002<\/p>\n<p>\u5927\u307e\u304b\u306a\u6d41\u308c\u3068\u3057\u3066\u306f\u3001\u300cLanguage Host\u300d\u3067\u300cProgram\u300d\u3092\u5b9f\u884c\u3057\u3001\u300cDeployment Engine\u300d\u304c\u300cProgram(\u3042\u308b\u3079\u304d\u72b6\u614b)\u300d\u3068\u300cState\uff08\u73fe\u5728\u306e\u72b6\u614b\uff09\u300d\u3092\u6bd4\u8f03\u3057\u305f\u306e\u3061\u3001\u5fc5\u8981\u306a\u30a2\u30af\u30b7\u30e7\u30f3(\u30ea\u30bd\u30fc\u30b9\u306e\u4f5c\u6210\/\u66f4\u65b0\/\u524a\u9664)\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u5b9f\u969b\u306e\u30ea\u30bd\u30fc\u30b9\u4f5c\u6210\/\u66f4\u65b0\/\u524a\u9664\u306f\u300cDeployment Engine\u300d\u304b\u3089\u306e\u60c5\u5831\u3092\u5143\u306b\u3001AWS\u3084GCP\u306a\u3069\u306e\u5404\u30b5\u30fc\u30d3\u30b9\u306b\u5bfe\u5fdc\u3057\u305f\u300cProvider\u300d\u3067\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_3_pulumi-howtowork-1024x910.png\" alt=\"\" width=\"1024\" height=\"910\" class=\"aligncenter size-large wp-image-55152\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_3_pulumi-howtowork-1024x910.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_3_pulumi-howtowork-360x320.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_3_pulumi-howtowork-768x682.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_3_pulumi-howtowork.png 1094w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<div id=\"component\" style=\"background: #F7F7F7;margin: 0 0 40px 0\">\n[\u30d5\u30ed\u30fc\u306b\u767b\u5834\u3059\u308b\u5404\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8]<\/p>\n<p>\u30fb <b>Language Host<\/b> \u2192 \u300cLanguage executor\u300d\u3068\u300cLanguage runtime\u300d\u306e2\u3064\u306e\u30d0\u30a4\u30ca\u30ea\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002\u300cLanguage executor\u300d\u306fPulumi Program\u306e\u5b9f\u884c\u3092\u62c5\u3044\u3001Pulumi CLI\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306bplugin(binary name: pulumi-language-&lt;language-name&gt;)\u3068\u3057\u3066\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u300cLanguage runtime\u300d\u306f\u300cpulumi preview\u300d\u304a\u3088\u3073\u300cpulumi up\u300d\u5b9f\u884c\u6642\u306b\u3001Program\u5185\u3067\u30ea\u30bd\u30fc\u30b9\u304c\u66f4\u65b0\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u66f4\u65b0\u3092\u691c\u77e5\u3057\u305f\u3089\u3001\u5f8c\u8ff0\u306e\u300cDeployment Engine\u300d\u306b\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6295\u3052\u307e\u3059\u3002\u300cLanguage runtime\u300d\u306f\u958b\u767a\u8a00\u8a9e(python,go,node.js\u7b49)\u6bce\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u914d\u5e03\u3055\u308c\u307e\u3059(\u4f8b\uff1aNode runtime\u306f<a href=\"https:\/\/www.npmjs.com\/package\/@pulumi\/pulumi\">npm<\/a>\u3001Python runtime\u306f<a href=\"https:\/\/pypi.org\/project\/pulumi\/\">PyPI<\/a>\u3001Go runtime\u306f<a href=\"https:\/\/pkg.go.dev\/github.com\/pulumi\/pulumi\">go module<\/a>\u306a\u3069)<\/p>\n<p>\u30fb <b>Deployment Engine<\/b> \u2192 Language Host\u304b\u3089\u306e\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5143\u306b\u3001\u73fe\u5728\u306e\u300cState\u300d\u304b\u3089\u6b21\u306e\u30a2\u30af\u30b7\u30e7\u30f3(\u30ea\u30bd\u30fc\u30b9\u306e\u4f5c\u6210\/\u66f4\u65b0\/\u524a\u9664)\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u6c7a\u5b9a\u5f8c\u306f\u5f8c\u8ff0\u306e\u300cResource Provider\u300d\u306b\u5b9f\u969b\u306b\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210\/\u66f4\u65b0\/\u524a\u9664\u3092\u4f9d\u983c\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u3001Deployment Engine\u81ea\u4f53\u306f\u300cPulumi CLI\u300d\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059<\/p>\n<p>\u30fb <b>Resource Providers<\/b> \u2192 AWS\u3084Azure\u306a\u3069\u306e\u5b9f\u969b\u306e\u30a4\u30f3\u30d5\u30e9\u74b0\u5883\u4e0a\u306e\u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u3092Deployment Engine\u7d4c\u7531\u3067\u5b9f\u65bd\u3059\u308b\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u30bf\u30a4\u30d7\u6bce\u306b\u7528\u610f\u3055\u308c\u308bSDK\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002\n<\/div>\n<h3 id=\"01-03\">Pulumi architecture(<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/state\/#pulumi-service-architecture\">\u53c2\u8003<\/a>)<\/h3>\n<p>Pulumi\u306f\u3053\u306eState\u3092\u300cBackend\u300d\u3068\u547c\u3070\u308c\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002Pulumi\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u4e0a\u306e\u300cPulumi Service\u300d\u306ebackend\u304c\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u300cPulumi Service\u300d\u306earchitecture\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059(<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/state\/#pulumi-service-architecture\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u3088\u308a\u5f15\u7528)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture-1024x710.png\" alt=\"\" width=\"1024\" height=\"710\" class=\"aligncenter size-large wp-image-55396\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture-1024x710.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture-360x250.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture-768x533.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture-280x195.png 280w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/10\/2_4_pulumi-pulumiservicearchitecture.png 1436w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Pulumi Service\u306f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u30672\u3064\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8(web application\u7528\/REST API\u7528\u3001\u3069\u3061\u3089\u3082\u300capp.pulumi.com\u300d)\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002Pulumi Service\u306f\u7ba1\u7406\u5bfe\u8c61\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u3068\u76f4\u63a5\u901a\u4fe1\u3059\u308b\u3053\u3068\u306f\u7121\u3044\u305f\u3081\u3001Pulumi Service\u5074\u3067\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u30af\u30ec\u30c7\u30f3\u30b7\u30e3\u30eb\u60c5\u5831\u3092\u8981\u6c42\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8CLI\u5074\u3067Pulumi Service\u3068\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3\u306e\u53cc\u65b9\u3068\u901a\u4fe1\u3059\u308b\u5f62\u3068\u306a\u308a\u307e\u3059\u3002Pulumi Service\u81ea\u4f53\u306fSOC2\u3084pen-testing\u306a\u3069\u8907\u6570\u306e\u76e3\u67fb\u3092\u7d4c\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u304c\u62c5\u4fdd\u3055\u308c\u3001\u5b89\u5168\u306b\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p id=\"tmp3\" style=\"margin: 0 0 40px 0\">\u3061\u306a\u307f\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bPulumi Service\u81ea\u4f53\u3092\u304a\u597d\u307f\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30af\u30e9\u30a6\u30c9\u74b0\u5883(AWS\/Azure\/GCP\/Kubernetes\u306a\u3069)\u306b\u81ea\u524d\u3067\u30db\u30b9\u30c8\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30a2\u30af\u30bb\u30b9\u3092\u767a\u751f\u3055\u305b\u306a\u3044\u3088\u3046\u306aPulumi\u5229\u7528\u74b0\u5883\u306e\u69cb\u7bc9\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_5_pulumi-self-hosted-pulumi-architecture-1024x657.png\" alt=\"\" width=\"1024\" height=\"657\" class=\"aligncenter size-large wp-image-55153\" style=\"margin: 0 0 40px 0\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_5_pulumi-self-hosted-pulumi-architecture-1024x657.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_5_pulumi-self-hosted-pulumi-architecture-360x231.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_5_pulumi-self-hosted-pulumi-architecture-768x493.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_5_pulumi-self-hosted-pulumi-architecture.png 1436w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<h2 id=\"02\">\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u3092Pulumi\u3067\u7ba1\u7406\u3059\u308b<\/h2>\n<h3 id=\"02-01\">state import\u306b\u3064\u3044\u3066 (<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/resources\/options\/import\/\">\u53c2\u8003<\/a>)<\/h3>\n<p>\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u306e\u30a4\u30f3\u30d5\u30e9\u30b9\u30c8\u30e9\u30af\u30c1\u30e3(\u30ea\u30bd\u30fc\u30b9)\u3092Pulumi\u3067\u7ba1\u7406\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306aimport\u51e6\u7406\u3092\u5b9f\u65bd\u3057\u3066\u3001Pulumi\u306eState\u306b\u5bfe\u3057\u3066\u300c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u300d\u3092\u8a18\u9332\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002State\u306b\u300c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u300d\u304c\u8a18\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u3001\u304b\u3064\u3001Program\u306b\u306f\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067\u300cPulumi up\u300d\u3092\u5b9f\u65bd\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u540c\u3058\u30ea\u30bd\u30fc\u30b9\u304c\u91cd\u8907\u3057\u3066\u4f5c\u6210\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067(\u8a73\u7d30\u306f\u5f8c\u8ff0)\u3001\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u306eimport\u51e6\u7406\u306f\u5fc5\u305a\u5b9f\u65bd\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<div id=\"component\" style=\"background: #F7F7F7;margin: 0 0 40px 0\">\n[\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u306ePulumi\u7ba1\u7406\u65b9\u6cd5]<br \/>\n\u30fb Pulumi\u3067\u7ba1\u7406\u3057\u305f\u3044\u30ea\u30bd\u30fc\u30b9\u306e\u30ea\u30bd\u30fc\u30b9ID\u3092\u8abf\u3079\u308b<br \/>\n\u30fb import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092Program\u306b\u8a18\u8f09\u3059\u308b<br \/>\n\u30fb \u7ba1\u7406\u3057\u305f\u3044\u30ea\u30bd\u30fc\u30b9\u3068\u540c\u69d8\u306e\u8a2d\u5b9a\u5024\u3092Program\u306b\u8a18\u8f09\u3059\u308b\n<\/div>\n<h3 id=\"02-02\">\u5b9f\u969b\u306b\u3084\u3063\u3066\u307f\u308b (<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/resources\/options\/import\/\">\u53c2\u8003<\/a>)<\/h3>\n<p>\u4eca\u56de\u306fGCP\u74b0\u5883\u306b\u65e2\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308bGCS Bucket\u3092\u3001Pulumi\u3067\u7ba1\u7406\u3055\u305b\u308b\u30b1\u30fc\u30b9\u3092\u60f3\u5b9a\u3057\u3066\u691c\u8a3c\u5b9f\u65bd\u3057\u307e\u3059\u3002\u4e8b\u524d\u6e96\u5099\u3068\u3057\u3066\u3001\u65b0\u3057\u304fPulumi Project\u3068Stack\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png\" alt=\"\" width=\"1024\" height=\"172\" class=\"aligncenter size-large wp-image-55264\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-360x60.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-768x129.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1536x258.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-2048x344.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<div id=\"import-resource\" style=\"background: #FFFFE0;margin: 0 0 40px 0\">\n[import\u5bfe\u8c61\u30ea\u30bd\u30fc\u30b9]<br \/>\n\u30fb GCS bucket<br \/>\n\u30fb \u540d\u524d\uff1amy-bucket-0927<br \/>\n\u30fb \u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7\uff1aRegion<br \/>\n\u30fb \u5834\u6240\uff1aasia-northeast1<br \/>\n\u30fb GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff1apulumi-test\n<\/div>\n<div id=\"premise\" style=\"background: #FFF0F5;margin: 0 0 40px 0\">\n[\u74b0\u5883]<br \/>\n\u30fb macOS v11.6.4<br \/>\n\u30fb go1.18.3 darwin\/amd64<br \/>\n\u30fb Pulumi v3.39.1\n<\/div>\n<p>Pulumi Project\u3092\u65b0\u898f\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u65b0\u898f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u3001pulumi new\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002project name\u306f\u300cquickstart2\u300d\u3001stack name\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u300cdev\u300d\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u305d\u306e\u4ed6\u306e\u8a2d\u5b9a\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u3057\u307e\u3059\u3002\u300cgcp:project:\u300d\u306b\u306f\u3001\u4eca\u56de\u306e\u5bfe\u8c61\u30ea\u30bd\u30fc\u30b9\u304c\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u3066\u3044\u308bGCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300cpulumi-test\u300d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\">\r\n$ mkdir quickstart2\r\n$ cd quickstart2\r\n$ pulumi new gcp-go\r\nThis command will walk you through creating a new Pulumi project.\r\n\r\nEnter a value or leave blank to accept the (default), and press .\r\nPress ^C at any time to quit.\r\n\r\nproject name: (quickstart2)\r\nproject description: (A minimal Google Cloud Go Pulumi program)\r\nCreated project &#039;quickstart2&#039;\r\n\r\nPlease enter your desired stack name.\r\nTo create a stack in an organization, use the format \/ (e.g. &#039;acmecorp\/dev&#039;).\r\nstack name: (dev)\r\nCreated stack &#039;dev&#039;\r\n\r\ngcp:project: The Google Cloud project to deploy into: pulumi-test\r\nSaved config\r\n\r\nInstalling dependencies...\r\n\r\nFinished installing dependencies\r\n\r\nYour new project is ready to go!\r\n\r\nTo perform an initial deployment, run &#039;pulumi up&#039;\r\n\r\n<\/pre>\n<p>Stack\u4f5c\u6210\u76f4\u5f8c\u306fPulumi\u3067\u30ea\u30bd\u30fc\u30b9\u306e\u30c7\u30d7\u30ed\u30a4\u306f\u5b9f\u65bd\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u30ea\u30bd\u30fc\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831\u306f\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-27T14:26:05.35656+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70f*****&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<h4 id=\"02-02-01\">import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u4ed8\u4e0e\u3057\u306a\u3044\u5834\u5408\u306ePulumi up<\/h4>\n<p>\u65e2\u306bGCP\u74b0\u5883\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u306b\u3064\u3044\u3066\u3001state\u306b\u60c5\u5831\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067pulumi up\u3092\u5b9f\u65bd\u3059\u308b\u3068\u3069\u3046\u306a\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u3068\u8a2d\u5b9a\u5024(\u540d\u524d\u3001\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u306a\u3069)\u3092\u5408\u308f\u305b\u3066\u3001\u4ee5\u4e0bProgram(main.go)\u3092\u4f5c\u6210\u3057\u307e\u3059<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png\" alt=\"\" width=\"1024\" height=\"172\" class=\"aligncenter size-large wp-image-55264\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-360x60.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-768x129.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1536x258.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-2048x344.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<pre class=\"EnlighterJSRAW\">\r\npackage main\r\n\r\nimport (\r\n    &quot;github.com\/pulumi\/pulumi-gcp\/sdk\/v6\/go\/gcp\/storage&quot;\r\n    &quot;github.com\/pulumi\/pulumi\/sdk\/v3\/go\/pulumi&quot;\r\n)\r\n\r\nfunc main() {\r\n    pulumi.Run(func(ctx *pulumi.Context) error {\r\n        \/\/ Create a GCP resource (Storage Bucket)\r\n        _, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n            Location: pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n            StorageClass: pulumi.String(&quot;STANDARD&quot;),\r\n            UniformBucketLevelAccess: pulumi.Bool(true),\r\n            ForceDestroy:             pulumi.Bool(true),\r\n        })\r\n        if err != nil {\r\n            return err\r\n        }\r\n\r\n        return nil\r\n    })\r\n}\r\n<\/pre>\n<li>Program\u304c\u6e96\u5099\u3067\u304d\u6b21\u7b2c\u3001pulumi up\u3092\u5b9f\u65bd\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi up\r\nPreviewing update (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/3db8d890-d3f4-4e5c-ba7f-*****\r\n\r\n     Type                   Name             Plan\r\n +   pulumi:pulumi:Stack    quickstart2-dev  create\r\n +   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   create\r\n\r\nResources:\r\n    + 2 to create\r\n\r\nDo you want to perform this update? yes\r\nUpdating (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/updates\/*\r\n\r\n     Type                   Name             Status\r\n +   pulumi:pulumi:Stack    quickstart2-dev  created\r\n +   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   created\r\n\r\nResources:\r\n    + 2 created\r\n\r\nDuration: 6s\r\n<\/pre>\n<li>\u4e0a\u8a18\u306e\u901a\u308a\u3001state\u306b\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u7121\u3044\u305f\u3081\u3001pulumi\u3067\u306f\u65b0\u3057\u304f\u30ea\u30bd\u30fc\u30b9\u304c\u4f5c\u6210(create)\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002pulumi up\u5f8c\u306estate\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-1024x154.png\" alt=\"\" width=\"1024\" height=\"154\" class=\"aligncenter size-large wp-image-55265\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-1024x154.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-360x54.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-768x116.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-1536x231.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_7_new_pulumi-newbucket-created-2048x308.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-27T22:28:10.351319+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;3f0d2c97-9218-4ff9-bb2f-73ff82141b67&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;my-bucket-0927-dd72df8&quot;,\r\n                &quot;type&quot;: &quot;gcp:storage\/bucket:Bucket&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;__defaults&quot;: [\r\n                        &quot;name&quot;\r\n                    ],\r\n                    &quot;forceDestroy&quot;: true,\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;name&quot;: &quot;my-bucket-0927-dd72df8&quot;,\r\n                    &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;__meta&quot;: &quot;{\\&quot;e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\\&quot;:{\\&quot;create\\&quot;:240000000000,\\&quot;read\\&quot;:240000000000,\\&quot;update\\&quot;:240000000000}}&quot;,\r\n                    &quot;cors&quot;: [],\r\n                    &quot;defaultEventBasedHold&quot;: false,\r\n                    &quot;encryption&quot;: null,\r\n                    &quot;forceDestroy&quot;: true,\r\n                    &quot;id&quot;: &quot;my-bucket-0927-dd72df8&quot;,\r\n                    &quot;labels&quot;: {},\r\n                    &quot;lifecycleRules&quot;: [],\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;logging&quot;: null,\r\n                    &quot;name&quot;: &quot;my-bucket-0927-dd72df8&quot;,\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;publicAccessPrevention&quot;: &quot;inherited&quot;,\r\n                    &quot;requesterPays&quot;: false,\r\n                    &quot;retentionPolicy&quot;: null,\r\n                    &quot;selfLink&quot;: &quot;https:\/\/www.googleapis.com\/storage\/v1\/b\/my-bucket-0927-******&quot;,\r\n                    &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true,\r\n                    &quot;url&quot;: &quot;gs:\/\/my-bucket-0927-dd72df8&quot;,\r\n                    &quot;versioning&quot;: null,\r\n                    &quot;website&quot;: null\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;provider&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default::3f0d2c97-9218-4ff9-bb2f-73ff82141b67&quot;,\r\n                &quot;propertyDependencies&quot;: {\r\n                    &quot;forceDestroy&quot;: [],\r\n                    &quot;location&quot;: [],\r\n                    &quot;storageClass&quot;: [],\r\n                    &quot;uniformBucketLevelAccess&quot;: []\r\n                }\r\n            }\r\n        ]\r\n    }\r\n}\r\n<\/pre>\n<li>\u3053\u3053\u3067\u4e00\u5ea6\u4f5c\u6210\u3055\u308c\u305fbucket\u3092\u524a\u9664\u3057\u3066\u3001\u5143\u306b\u72b6\u614b\u306b\u623b\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi destroy\r\nPreviewing destroy (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/d5fcd57a-7498-494d-aee3-********\r\n\r\n     Type                   Name             Plan\r\n -   pulumi:pulumi:Stack    quickstart2-dev  delete\r\n -   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   delete\r\n\r\nResources:\r\n    - 2 to delete\r\n\r\nDo you want to perform this destroy? yes\r\nDestroying (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/updates\/**\r\n\r\n     Type                   Name             Status\r\n -   pulumi:pulumi:Stack    quickstart2-dev  deleted\r\n -   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   deleted\r\n\r\nResources:\r\n    - 2 deleted\r\n\r\nDuration: 3s\r\n<\/pre>\n<li>\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u3059\u308b\u3068\u3001\u518d\u5ea6state\u306e\u4e2d\u8eab\u304b\u3089\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u524a\u9664\u3055\u308c\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-27T22:37:04.390227+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<\/ul>\n<h4 id=\"02-02-02\">import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u4ed8\u4e0e\u3057\u305f\u5834\u5408\u306ePulumi up (<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/resources\/options\/import\/#import\">\u53c2\u8003<\/a>)<\/h4>\n<p>\u6b21\u306b\u3001import option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u4ed8\u4e0e\u3057\u305f\u5834\u5408\u306ePulumi up\u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/www.pulumi.com\/registry\/packages\/gcp\/api-docs\/storage\/bucket\/#import\">API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u306b\u3088\u308b\u3068\u3001bucket\u306e\u5834\u5408\u300cname\u300d\u304c\u30ea\u30bd\u30fc\u30b9ID\u3068\u306a\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u300cNewBucket function\u306e\u5f15\u6570\u300d\u306bimport option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u8ffd\u8a18\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\npulumi.Run(func(ctx *pulumi.Context) error {\r\n    \/\/ Create a GCP resource (Storage Bucket)\r\n    _, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n        Location:                 pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n        StorageClass:             pulumi.String(&quot;STANDARD&quot;),\r\n        UniformBucketLevelAccess: pulumi.Bool(true),\r\n    }, pulumi.Import(pulumi.ID(&quot;my-bucket-0927&quot;)))\r\n<\/pre>\n<li>\u3053\u306e\u72b6\u614b\u3067\u4e00\u5ea6pulumi up\u3092\u5b9f\u884c\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi up\r\nPreviewing update (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/774dfb50-a363-451d-845b-********\r\n\r\n     Type                   Name             Plan       Info\r\n +   pulumi:pulumi:Stack    quickstart2-dev  create\r\n =   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   import     [diff: ~name]; 1 warning\r\n\r\nDiagnostics:\r\n  gcp:storage:Bucket (my-bucket-0927):\r\n    warning: inputs to import do not match the existing resource; importing this resource will fail\r\n\r\n\r\nDo you want to perform this update?  [Use arrows to move, enter to select, type to filter]\r\n  yes\r\n&gt; no\r\n  details\r\n<\/pre>\n<li>bucket\u306eplan\u5185\u5bb9\u304c\u300ccreate\u300d\u3067\u306f\u306a\u304f\u300cimport\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u3053\u308c\u306fbucket\u306b\u3064\u3044\u3066\u5b9f\u969b\u306b\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210(create)\u305b\u305a\u306b\u3001state\u306b\u6307\u5b9a\u3057\u305fID\u306e\u30ea\u30bd\u30fc\u30b9\u60c5\u5831\u3092\u8ffd\u52a0\u3059\u308bplan\u5185\u5bb9\u3068\u306a\u308a\u307e\u3059<\/li>\n<li>\u305f\u3060\u3057\u3001\u4e0a\u8a18bucket\u306eplan\u3067\u300cwarning: inputs to import do not match the existing resource; importing this resource will fail\u300d\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u300cdetails\u300d\u3092\u9078\u629e\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\nDo you want to perform this update? details\r\n+ pulumi:pulumi:Stack: (create)\r\n    [urn=urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev]\r\n    = gcp:storage\/bucket:Bucket: (import)\r\n        [id=my-bucket-0927]\r\n        [urn=urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927]\r\n      ~ name: &quot;my-bucket-0927&quot; =&gt; &quot;my-bucket-0927-ad559e3&quot;\r\n<\/pre>\n<p>\u300cname\u300d\u304c\u65e2\u5b58\u306e\u30ea\u30bd\u30fc\u30b9\u300cmy-bucket-0927\u300d\u304b\u3089\u3001\u300cmy-bucket-0927-ad559e3\u300d\u306b\u5909\u66f4\u3055\u308c\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002import\u3092\u5b9f\u884c\u3059\u308b\u969b\u306f\u3001name\u306a\u3069\u306e\u8a2d\u5b9a\u5024\u304cProgram\u3068GCP\u74b0\u5883\u306e\u65e2\u5b58\u30ea\u30bd\u30fc\u30b9\u3068\u3067\u4e00\u81f4\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3060\u3068\u300cname\u300d\u304c\u7570\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001plan\u5185\u5bb9\u3067\u306f\u300cimport\u304c\u5931\u6557\u3057\u307e\u3059\u300d\u3068\u306e\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u5909\u66f4\u5f8c\u306ebucket name\u300cmy-bucket-0927-ad559e3\u300d\u306esuffix\u306b\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3067\u3059\u304c\u3001\u3053\u308c\u306fpulumi\u306e\u300c<a href=\"https:\/\/www.pulumi.com\/docs\/intro\/concepts\/resources\/names\/#autonaming\">Auto-naming<\/a>\u300d\u51e6\u7406\u306b\u3088\u308a\u81ea\u52d5\u7684\u306b\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u30e9\u30f3\u30c0\u30e0\u306e16\u9032\u6570\u306b\u306a\u308a\u307e\u3059\u3002\u300cAuto-naming\u300d\u306e\u76ee\u7684\u306f\u4e3b\u306b\u4ee5\u4e0b2\u3064\u3067\u3059<\/p>\n<li id=\"tmp1\" style=\"margin: 0 7.5px 0 40px\">\u540c\u3058Pulumi Project\u3067\u8907\u6570Stack\u3092\u4f5c\u6210\u3059\u308b\u969b\u306e\u3001\u30ea\u30bd\u30fc\u30b9\u540d\u306e\u885d\u7a81(\u91cd\u8907)\u3092\u9632\u3050\u305f\u3081<\/li>\n<li id=\"tmp1\" style=\"margin: 0 7.5px 20px 40px\">\u4e00\u90e8\u306e\u30af\u30e9\u30a6\u30c9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306b\u304a\u3051\u308bPulumi\u306e\u30bc\u30ed\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u3067\u306e\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u3092\u884c\u3046\u305f\u3081\u3002\u4e00\u90e8\u306e\u30af\u30e9\u30a6\u30c9\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067\u306f\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u6642\u306b\u3001\u300c\u66f4\u65b0\u5f8c\u306e\u8a2d\u5b9a\u5024\u3067\u30ea\u30bd\u30fc\u30b9\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u4f5c\u6210\u5f8c\u306b\u53c2\u7167\u5148\u3092\u65b0\u898f\u4f5c\u6210\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u306b\u5909\u66f4\u3057\u3001\u305d\u306e\u5f8c\u53e4\u3044\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u3059\u308b\u300d\u30d7\u30ed\u30bb\u30b9\u3067\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u304c\u884c\u308f\u308c\u308b<\/li>\n<p>\u4e0a\u8a18\u306e\u901a\u308a\u3001\u8907\u6570Stack\u3092\u4f5c\u6210\u3059\u308b\u969b\u306e\u30ea\u30bd\u30fc\u30b9\u540d\u91cd\u8907\u306b\u3088\u308b\u30a8\u30e9\u30fc\u304c\u305f\u3073\u305f\u3073\u767a\u751f\u3057\u5f97\u308b\u306e\u3067\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306fProject\u540d\u3068Stack\u540d\u3092\u30ea\u30bd\u30fc\u30b9\u306e\u540d\u524d\u306b\u542b\u3081\u308b\u304b(\u4f8b\uff1atest-bucet-&lt;project_name&gt;-&lt;stack_name&gt;)\u3001\u307e\u305f\u306f\u30ea\u30bd\u30fc\u30b9\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u300cdeleteBeforeReplace: true\u300d\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30ea\u30bd\u30fc\u30b9\u66f4\u65b0\u6642\u306b\u30ea\u30bd\u30fc\u30b9\u304c\u65b0\u898f\u4f5c\u6210\u3055\u308c\u308b\u969b\u306b\u53e4\u3044\u30ea\u30bd\u30fc\u30b9\u304c\u524a\u9664\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3088\u3046\u3001\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059<\/p>\n<li>\u4eca\u56de\u306e\u691c\u8a3c\u3067\u306f\u8907\u6570Stack\u3092\u4f5c\u6210\u3057\u3066\u540c\u4e00\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u30b1\u30fc\u30b9\u3067\u306f\u7121\u3044\u305f\u3081\u3001Auto-naming\u306e\u51e6\u7406\u3092\u5b9f\u65bd\u3057\u306a\u3044\u56fa\u5b9a\u306e\u300cname\u300d\u3092\u6307\u5b9a\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u300cName:\u300d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8ffd\u52a0\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n_, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n    Name:                     pulumi.String(&quot;my-bucket-0927&quot;),\r\n    Location:                 pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n    StorageClass:             pulumi.String(&quot;STANDARD&quot;),\r\n    UniformBucketLevelAccess: pulumi.Bool(true),\r\n}, pulumi.Import(pulumi.ID(&quot;my-bucket-0927&quot;)))\r\n<\/pre>\n<li>\u3053\u306e\u72b6\u614b\u3067\u518d\u5ea6pulumi up\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u300cwarning\u300d\u304c\u6d88\u3048\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3001\u300cyes\u300d\u3092\u9078\u629e\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi up\r\nPreviewing update (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/ef046ad6-7345-4ce7-b423-*********\r\n\r\n     Type                   Name             Plan\r\n +   pulumi:pulumi:Stack    quickstart2-dev  create\r\n =   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   import\r\n\r\nResources:\r\n    + 1 to create\r\n    = 1 to import\r\n    2 changes\r\n\r\nDo you want to perform this update? details\r\n+ pulumi:pulumi:Stack: (create)\r\n    [urn=urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev]\r\n    = gcp:storage\/bucket:Bucket: (import)\r\n        [id=my-bucket-0927]\r\n        [urn=urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927]\r\n        location                : &quot;ASIA-NORTHEAST1&quot;\r\n        name                    : &quot;my-bucket-0927&quot;\r\n        project                 : &quot;pulumi-test&quot;\r\n        publicAccessPrevention  : &quot;enforced&quot;\r\n        uniformBucketLevelAccess: true\r\n\r\nDo you want to perform this update? yes\r\nUpdating (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/updates\/**\r\n\r\n     Type                   Name             Status\r\n +   pulumi:pulumi:Stack    quickstart2-dev  created\r\n =   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   imported\r\n\r\nResources:\r\n    + 1 created\r\n    = 1 imported\r\n    2 changes\r\n\r\nDuration: 5s\r\n<\/pre>\n<li>import\u304c\u7121\u4e8b\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002GCP Console\u3067\u306f\u300c\u30ea\u30bd\u30fc\u30b9ID\u3092\u4ed8\u4e0e\u3057\u306a\u3044\u5834\u5408\u306ePulumi up\u300d\u306e\u30b1\u30fc\u30b9\u306e\u3088\u3046\u306b\u3001\u65b0\u305f\u306b\u30ea\u30bd\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u305a\u3001\u304b\u3064\u4ee5\u4e0b\u306e\u3088\u3046\u306bstate\u306b\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png\" alt=\"\" width=\"1024\" height=\"172\" class=\"aligncenter size-large wp-image-55264\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-360x60.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-768x129.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1536x258.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-2048x344.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-28T00:30:29.247685+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;45fdfb64-6f42-4a8e-b6c5-29eceae70e6f&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;my-bucket-0927&quot;,\r\n                &quot;type&quot;: &quot;gcp:storage\/bucket:Bucket&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;__defaults&quot;: [\r\n                        &quot;forceDestroy&quot;\r\n                    ],\r\n                    &quot;forceDestroy&quot;: false,\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;name&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;__meta&quot;: &quot;{\\&quot;e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\\&quot;:{\\&quot;create\\&quot;:240000000000,\\&quot;read\\&quot;:240000000000,\\&quot;update\\&quot;:240000000000}}&quot;,\r\n                    &quot;cors&quot;: [],\r\n                    &quot;defaultEventBasedHold&quot;: false,\r\n                    &quot;encryption&quot;: null,\r\n                    &quot;forceDestroy&quot;: false,\r\n                    &quot;id&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;labels&quot;: {},\r\n                    &quot;lifecycleRules&quot;: [],\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;logging&quot;: null,\r\n                    &quot;name&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;publicAccessPrevention&quot;: &quot;enforced&quot;,\r\n                    &quot;requesterPays&quot;: false,\r\n                    &quot;retentionPolicy&quot;: null,\r\n                    &quot;selfLink&quot;: &quot;https:\/\/www.googleapis.com\/storage\/v1\/**\/my-bucket-0927&quot;,\r\n                    &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true,\r\n                    &quot;url&quot;: &quot;gs:\/\/my-bucket-0927&quot;,\r\n                    &quot;versioning&quot;: null,\r\n                    &quot;website&quot;: null\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;provider&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default::45fdfb64-6f42-4a8e-b6c5-29eceae70e6f&quot;,\r\n                &quot;propertyDependencies&quot;: {\r\n                    &quot;location&quot;: [],\r\n                    &quot;name&quot;: [],\r\n                    &quot;storageClass&quot;: [],\r\n                    &quot;uniformBucketLevelAccess&quot;: []\r\n                },\r\n                &quot;importID&quot;: &quot;my-bucket-0927&quot;\r\n            }\r\n        ]\r\n    }\r\n}\r\n<\/pre>\n<li>\u6700\u5f8c\u306bProgram\u306e\u5bfe\u8c61\u30ea\u30bd\u30fc\u30b9\u304b\u3089\u30ea\u30bd\u30fc\u30b9ID(import option)\u3092\u524a\u9664\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n_, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n    Name:                     pulumi.String(&quot;my-bucket-0927&quot;),\r\n    Location:                 pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n    StorageClass:             pulumi.String(&quot;STANDARD&quot;),\r\n    UniformBucketLevelAccess: pulumi.Bool(true),\r\n})\r\n<\/pre>\n<li>\u5ff5\u306e\u305f\u3081\u518d\u5ea6pulumi up\u3092\u5b9f\u884c\u3057\u3066\u5dee\u5206\u304c\u7121\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3089\u5b8c\u4e86\u3067\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi up\r\nPreviewing update (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/802ed26c-03e1-4fa3-91fe-********\r\n\r\n     Type                 Name             Plan\r\n     pulumi:pulumi:Stack  quickstart2-dev\r\n\r\nResources:\r\n    2 unchanged\r\n<\/pre>\n<\/ul>\n<h4 id=\"02-02-03\">Pulumi\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308bimport(<a href=\"https:\/\/www.pulumi.com\/registry\/packages\/gcp\/api-docs\/storage\/bucket\/#import\">\u53c2\u8003<\/a>)<\/h4>\n<p>\u3053\u308c\u307e\u3067\u306fProgram\u306bimport option(\u30ea\u30bd\u30fc\u30b9ID)\u3092\u8ffd\u8a18\u3057\u3066import\u5b9f\u65bd\u3057\u307e\u3057\u305f\u304c\u3001pulumi\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308bimport\u3082\u5b9f\u65bd\u51fa\u6765\u307e\u3059\u3002import\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u6982\u306d\u5404\u30ea\u30bd\u30fc\u30b9\u306eAPI\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f<a href=\"https:\/\/www.pulumi.com\/registry\/packages\/gcp\/api-docs\/storage\/bucket\/#import\">GCS Bucket<\/a>\u306eimport\u3092\u5b9f\u65bd\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>state\u306f\u7a7a(\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u7121\u3044)\u306e\u72b6\u614b\u3067\u3001GCP Console\u306b\u306f\u672a\u3060Pulumi\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u306a\u3044bucket\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3059<\/li>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png\" alt=\"\" width=\"1024\" height=\"172\" class=\"aligncenter size-large wp-image-55264\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1024x172.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-360x60.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-768x129.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-1536x258.png 1536w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/09\/2_6_new_pulumi-existing-bucket-2048x344.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-28T00:53:02.915989+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<li>\u4ee5\u4e0bpulumi import\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u6587\u6cd5\u306f\u300cpulumi import [type] [name] [id] [option]\u300d\u306b\u306a\u308a\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi import gcp:storage\/bucket:Bucket my-bucket-0927 my-bucket-0927\r\nPreviewing import (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/f34c0f49-cb16-4bfb-889a-*******\r\n\r\n     Type                   Name             Plan\r\n +   pulumi:pulumi:Stack    quickstart2-dev  create\r\n =   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   import\r\n\r\nResources:\r\n    + 1 to create\r\n    = 1 to import\r\n    2 changes\r\n\r\nDo you want to perform this import? details\r\n+ pulumi:pulumi:Stack: (create)\r\n    [urn=urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev]\r\n    = gcp:storage\/bucket:Bucket: (import) &#x1f512;\r\n        [id=my-bucket-0927]\r\n        [urn=urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927]\r\n        [provider=urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default_6_29_0::04da6b54-80e4-46f7-96ec-b56ff0331ba9]\r\n        location                : &quot;ASIA-NORTHEAST1&quot;\r\n        name                    : &quot;my-bucket-0927&quot;\r\n        project                 : &quot;pulumi-test&quot;\r\n        publicAccessPrevention  : &quot;enforced&quot;\r\n        uniformBucketLevelAccess: true\r\n\r\nDo you want to perform this import? yes\r\nImporting (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/updates\/**\r\n\r\n     Type                   Name             Status\r\n +   pulumi:pulumi:Stack    quickstart2-dev  created\r\n =   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   imported\r\n\r\nResources:\r\n    + 1 created\r\n    = 1 imported\r\n    2 changes\r\n\r\nDuration: 2s\r\n<\/pre>\n<li>import\u5b8c\u4e86\u5f8c\u3001state\u306b\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-28T01:03:49.870847+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default_6_29_0&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;597778d7-cd2d-4070-96ff-7c244c0dc3ff&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                }\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;my-bucket-0927&quot;,\r\n                &quot;type&quot;: &quot;gcp:storage\/bucket:Bucket&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;__defaults&quot;: [],\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;name&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;publicAccessPrevention&quot;: &quot;enforced&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;__meta&quot;: &quot;{\\&quot;e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\\&quot;:{\\&quot;create\\&quot;:240000000000,\\&quot;read\\&quot;:240000000000,\\&quot;update\\&quot;:240000000000}}&quot;,\r\n                    &quot;cors&quot;: [],\r\n                    &quot;defaultEventBasedHold&quot;: false,\r\n                    &quot;encryption&quot;: null,\r\n                    &quot;forceDestroy&quot;: false,\r\n                    &quot;id&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;labels&quot;: {},\r\n                    &quot;lifecycleRules&quot;: [],\r\n                    &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n                    &quot;logging&quot;: null,\r\n                    &quot;name&quot;: &quot;my-bucket-0927&quot;,\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;publicAccessPrevention&quot;: &quot;enforced&quot;,\r\n                    &quot;requesterPays&quot;: false,\r\n                    &quot;retentionPolicy&quot;: null,\r\n                    &quot;selfLink&quot;: &quot;https:\/\/www.googleapis.com\/storage\/v1\/**\/my-bucket-0927&quot;,\r\n                    &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n                    &quot;uniformBucketLevelAccess&quot;: true,\r\n                    &quot;url&quot;: &quot;gs:\/\/my-bucket-0927&quot;,\r\n                    &quot;versioning&quot;: null,\r\n                    &quot;website&quot;: null\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;protect&quot;: true,\r\n                &quot;provider&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default_6_29_0::597778d7-cd2d-4070-96ff-7c244c0dc3ff&quot;\r\n            }\r\n        ]\r\n    }\r\n}\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306bimport\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u76f4\u5f8c\u306b\u3001import\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u306e\u4ee5\u4e0bProgram\u304cCLI\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3092\u305d\u306e\u307e\u307eProgram\u306b\u30b3\u30d4\u30fc\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u300c\u5b9f\u969b\u306bimport\u306f\u5b9f\u884c\u3057\u305f\u304f\u306a\u3044\u3051\u3069\u3001\u30ea\u30bd\u30fc\u30b9\u306eAPI\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u53c2\u7167\u524d\u306b\u3001Program\u306e\u30b3\u30fc\u30c9\u3060\u3051\u78ba\u8a8d\u3057\u305f\u3044\u300d\u6642\u306a\u3069\u306f\u3001pulumi import\u30b3\u30de\u30f3\u30c9\u3092\u4e00\u5ea6\u5b9f\u884c\u3057\u3066\u3001plan\u5185\u5bb9\u78ba\u8a8d\u6642(Do you want to perform this import?)\u3067\u300cno\u300d\u3092\u9078\u629e\u3059\u308c\u3070\u3001import\u3092\u5b9f\u884c\u305b\u305a\u306b\u30b3\u30fc\u30c9\u304c\u51fa\u529b\u3055\u308c\u307e\u3059<\/p>\n<pre class=\"EnlighterJSRAW\">\r\nPlease copy the following code into your Pulumi application. Not doing so\r\nwill cause Pulumi to report that an update will happen on the next update command.\r\n\r\nPlease note that the imported resources are marked as protected. To destroy them\r\nyou will need to remove the `protect` option and run `pulumi update` *before*\r\nthe destroy will take effect.\r\n\r\npackage main\r\n\r\nimport (\r\n    &quot;github.com\/pulumi\/pulumi-gcp\/sdk\/v6\/go\/gcp\/storage&quot;\r\n    &quot;github.com\/pulumi\/pulumi\/sdk\/v3\/go\/pulumi&quot;\r\n)\r\n\r\nfunc main() {\r\n    pulumi.Run(func(ctx *pulumi.Context) error {\r\n        _, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n            Location:                 pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n            Name:                     pulumi.String(&quot;my-bucket-0927&quot;),\r\n            Project:                  pulumi.String(&quot;pulumi-test&quot;),\r\n            PublicAccessPrevention:   pulumi.String(&quot;enforced&quot;),\r\n            UniformBucketLevelAccess: pulumi.Bool(true),\r\n        }, pulumi.Protect(true))\r\n        if err != nil {\r\n            return err\r\n        }\r\n        return nil\r\n    })\r\n}\r\n<\/pre>\n<\/ul>\n<p id=\"tmp2\" style=\"margin: 0 0 40px 0\">\n<h2 id=\"03\">\u305d\u306e\u4ed6state\u95a2\u9023\u64cd\u4f5c\u306b\u3064\u3044\u3066<\/h2>\n<p>\u305d\u306e\u4ed6state\u95a2\u9023\u306ePulumi\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u4e00\u90e8\u7d39\u4ecb\u3057\u307e\u3059<\/p>\n<h3 id=\"03-01\">pulumi state delete [URN] (<a href=\"https:\/\/www.pulumi.com\/docs\/reference\/cli\/pulumi_state_delete\/\">\u53c2\u8003<\/a>)<\/h3>\n<p>\u7279\u5b9a\u30ea\u30bd\u30fc\u30b9\u306eURN(Uniform Resource Name)\u3092\u7528\u3044\u3066\u3001state\u304b\u3089\u30ea\u30bd\u30fc\u30b9\u306e\u60c5\u5831\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059(\u5b9f\u969b\u306b\u30af\u30e9\u30a6\u30c9\u74b0\u5883\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u81ea\u4f53\u306f\u524a\u9664\u3055\u308c\u307e\u305b\u3093)<\/p>\n<p>\u300c\u5b9f\u969b\u306b\u30ea\u30bd\u30fc\u30b9\u81ea\u4f53\u306f\u524a\u9664\u3057\u305f\u304f\u306a\u3044\u304c\u3001Pulumi\u306e\u7ba1\u7406\u304b\u3089\u306f\u5916\u3057\u305f\u3044\u300d\u5834\u5408\u306a\u3069\u306b\u5229\u7528\u3057\u307e\u3059<\/p>\n<ul>\n<li>\u524a\u9664\u3057\u305f\u3044\u30ea\u30bd\u30fc\u30b9\u306eURN\u3092\u8abf\u3079\u307e\u3059(\u4eca\u56de\u306fbucket\u306estate\u60c5\u5831\u3092\u524a\u9664\u3057\u307e\u3059)\u3002state\u304b\u3089\u8a72\u5f53\u30ea\u30bd\u30fc\u30b9\u306eURN\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n~~(\u7565)~~\r\n&quot;resources&quot;: [\r\n~~(\u7565)~~\r\n{\r\n        &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927&quot;,\r\n        &quot;custom&quot;: true,\r\n        &quot;id&quot;: &quot;my-bucket-0927&quot;,\r\n        &quot;type&quot;: &quot;gcp:storage\/bucket:Bucket&quot;,\r\n        &quot;inputs&quot;: {\r\n            &quot;__defaults&quot;: [\r\n                &quot;forceDestroy&quot;\r\n            ],\r\n            &quot;forceDestroy&quot;: false,\r\n            &quot;location&quot;: &quot;ASIA-NORTHEAST1&quot;,\r\n            &quot;name&quot;: &quot;my-bucket-0927&quot;,\r\n            &quot;storageClass&quot;: &quot;STANDARD&quot;,\r\n            &quot;uniformBucketLevelAccess&quot;: true\r\n        },\r\n~~(\u7565)~~\r\n}\r\n<\/pre>\n<li>\u307e\u305f\u306f\u4ee5\u4e0bpulumi\u30b3\u30de\u30f3\u30c9\u3067URN\u3092\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack --show-urns\r\nCurrent stack is dev:\r\n    Owner: CL_Kenneth\r\n    Last updated: 23 minutes ago (2022-09-28 01:03:49.870847 +0900 JST)\r\n    Pulumi version: v3.39.1\r\nCurrent stack resources (3):\r\n    TYPE                          NAME\r\n    pulumi:pulumi:Stack           quickstart2-dev\r\n    \u2502  URN: urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev\r\n    \u251c\u2500 gcp:storage\/bucket:Bucket  my-bucket-0927\r\n    \u2502     URN: urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927\r\n    \u2514\u2500 pulumi:providers:gcp       default_6_29_0\r\n          URN: urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default_6_29_0\r\n\r\nCurrent stack outputs (0):\r\n    No output values currently in this stack\r\n\r\nMore information at: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\r\n\r\nUse `pulumi stack select` to change stack; `pulumi stack ls` lists known ones\r\n<\/pre>\n<li>URN\u3092\u6307\u5b9a\u3057\u3066\u3001\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi state delete urn:pulumi:dev::quickstart2::gcp:storage\/bucket:Bucket::my-bucket-0927\r\n warning: This command will edit your stack&#039;s state directly. Confirm? Yes\r\nResource deleted\r\n<\/pre>\n<li>state\u304b\u3089\u5bfe\u8c61\u306e\u30ea\u30bd\u30fc\u30b9\u60c5\u5831(bucket)\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-28T01:40:56.95378+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;f8f41b6d-87d4-4cd2-93b8-ebdbf766398c&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;\r\n            }\r\n        ]\r\n    }\r\n}\r\n<\/pre>\n<\/ul>\n<h3 id=\"03-02\">pulumi preview (<a href=\"https:\/\/www.pulumi.com\/docs\/reference\/cli\/pulumi_preview\/\">\u53c2\u8003<\/a>)<\/h3>\n<p>state\u306e\u60c5\u5831\u3068Program\u306e\u30b3\u30fc\u30c9\u306e\u5dee\u5206\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002pulumi up\u30b3\u30de\u30f3\u30c9\u3067\u3082\u5dee\u5206\u306e\u78ba\u8a8d\u306f\u51fa\u6765\u307e\u3059\u304c\u3001\u9593\u9055\u3048\u3066\u5b9f\u969b\u306e\u30c7\u30d7\u30ed\u30a4\u3092\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001pulumi preview\u3067\u5dee\u5206\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u304c\u7121\u96e3\u304b\u3068\u601d\u3044\u307e\u3059<\/p>\n<ul>\n<li>\u73fe\u5728\u306eProgram\u306e\u30b3\u30fc\u30c9<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ cat main.go\r\npackage main\r\n\r\nimport (\r\n    &quot;github.com\/pulumi\/pulumi-gcp\/sdk\/v6\/go\/gcp\/storage&quot;\r\n    &quot;github.com\/pulumi\/pulumi\/sdk\/v3\/go\/pulumi&quot;\r\n)\r\n\r\nfunc main() {\r\n    pulumi.Run(func(ctx *pulumi.Context) error {\r\n        \/\/ Create a GCP resource (Storage Bucket)\r\n        _, err := storage.NewBucket(ctx, &quot;my-bucket-0927&quot;, &amp;storage.BucketArgs{\r\n            Name:                     pulumi.String(&quot;my-bucket-0927&quot;),\r\n            Location:                 pulumi.String(&quot;ASIA-NORTHEAST1&quot;),\r\n            StorageClass:             pulumi.String(&quot;STANDARD&quot;),\r\n            UniformBucketLevelAccess: pulumi.Bool(true),\r\n        })\r\n        if err != nil {\r\n            return err\r\n        }\r\n\r\n        return nil\r\n    })\r\n}\r\n<\/pre>\n<li>\u73fe\u5728\u306estate\u60c5\u5831\u3002state\u306b\u306fProgram\u306b\u8a18\u8f09\u306ebucket\u306e\u60c5\u5831\u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi stack export\r\n{\r\n    &quot;version&quot;: 3,\r\n    &quot;deployment&quot;: {\r\n        &quot;manifest&quot;: {\r\n            &quot;time&quot;: &quot;2022-09-28T01:40:56.95378+09:00&quot;,\r\n            &quot;magic&quot;: &quot;c57d2cc6e4ddc1ad908bcf42d81d39304d5e92a1de5a6e1d5a5c485a70ff807b&quot;,\r\n            &quot;version&quot;: &quot;v3.39.1&quot;\r\n        },\r\n        &quot;secrets_providers&quot;: {\r\n            &quot;type&quot;: &quot;service&quot;,\r\n            &quot;state&quot;: {\r\n                &quot;url&quot;: &quot;https:\/\/api.pulumi.com&quot;,\r\n                &quot;owner&quot;: &quot;CL_Kenneth&quot;,\r\n                &quot;project&quot;: &quot;quickstart2&quot;,\r\n                &quot;stack&quot;: &quot;dev&quot;\r\n            }\r\n        },\r\n        &quot;resources&quot;: [\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;,\r\n                &quot;custom&quot;: false,\r\n                &quot;type&quot;: &quot;pulumi:pulumi:Stack&quot;\r\n            },\r\n            {\r\n                &quot;urn&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:providers:gcp::default&quot;,\r\n                &quot;custom&quot;: true,\r\n                &quot;id&quot;: &quot;f8f41b6d-87d4-4cd2-93b8-ebdbf766398c&quot;,\r\n                &quot;type&quot;: &quot;pulumi:providers:gcp&quot;,\r\n                &quot;inputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;outputs&quot;: {\r\n                    &quot;project&quot;: &quot;pulumi-test&quot;,\r\n                    &quot;version&quot;: &quot;6.29.0&quot;\r\n                },\r\n                &quot;parent&quot;: &quot;urn:pulumi:dev::quickstart2::pulumi:pulumi:Stack::quickstart2-dev&quot;\r\n            }\r\n        ]\r\n    }\r\n}\r\n<\/pre>\n<li>\u4ee5\u4e0b\u30b3\u30de\u30f3\u30c9\u3067\u5dee\u5206\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002bucket\u65b0\u898f\u4f5c\u6210\u306e\u5dee\u5206\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059<\/li>\n<pre class=\"EnlighterJSRAW\">\r\n$ pulumi preview\r\nPreviewing update (dev)\r\n\r\nView Live: https:\/\/app.pulumi.com\/CL_Kenneth\/quickstart2\/dev\/previews\/f8807e3a-5045-4e63-ae14-******\r\n\r\n     Type                   Name             Plan\r\n     pulumi:pulumi:Stack    quickstart2-dev\r\n +   \u2514\u2500 gcp:storage:Bucket  my-bucket-0927   create\r\n\r\nResources:\r\n    + 1 to create\r\n    1 unchanged\r\n<\/pre>\n<\/ul>\n<h2 id=\"04\" style=\"margin: 20px 0px 10px\">\u307e\u3068\u3081<\/h2>\n<p>\nPulumi architecture\u3068state\u306e\u6319\u52d5\u306b\u3064\u3044\u3066\u5c11\u3057\u7406\u89e3\u3092\u6df1\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002Pulumi\u3092\u904b\u7528\u3057\u3066\u3044\u304f\u4e0a\u3067\u4fbf\u5229\u3060\u3068\u611f\u3058\u305fState\u95a2\u9023\u306e\u64cd\u4f5c\u3084Pulumi Service\u306b\u95a2\u3059\u308b\u60c5\u5831\u306b\u3064\u3044\u3066\u3001\u4eca\u5f8c\u3082\u6a5f\u4f1a\u304c\u3042\u308c\u3070\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>terraform\u3084Ansible\u3001AWS CloudFormation\u306a\u3069\u3001\u30af\u30e9\u30a6\u30c9\u30ea\u30bd\u30fc\u30b9\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\uff08\u307e\u305f\u306f\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\uff09\u306e\u985e\u4f3c\u30c4\u30fc\u30eb\u3068\u306a\u308bPulumi\u306earchitecture\u6982\u8981\u3084\u3001\u3069\u306e\u3088\u3046\u306b\u3057 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":53991,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[208,719,718,720],"tags":[],"class_list":["post-54449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gcp","category-go","category-k-ozeki","category-pulumi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-27T02:00:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-30T00:25:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1186\" \/>\n\t<meta property=\"og:image:height\" content=\"542\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"16\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"headline\":\"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \\\/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go\",\"datePublished\":\"2022-10-27T02:00:50+00:00\",\"dateModified\":\"2022-11-30T00:25:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449\"},\"wordCount\":3251,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pulumi-title.png\",\"articleSection\":[\"GCP\",\"Go\",\"Kenneth Ozeki\",\"Pulumi\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449\",\"name\":\"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \\\/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pulumi-title.png\",\"datePublished\":\"2022-10-27T02:00:50+00:00\",\"dateModified\":\"2022-11-30T00:25:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\"},\"description\":\"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pulumi-title.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pulumi-title.png\",\"width\":1186,\"height\":542},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\\\/54449#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GCP\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/gcp\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \\\/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/7d923d1c017568a1a5e66d7bb1c8764a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/avatar.png\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449","og_locale":"ja_JP","og_type":"article","og_title":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2022-10-27T02:00:50+00:00","article_modified_time":"2022-11-30T00:25:49+00:00","og_image":[{"width":1186,"height":542,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"16\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449"},"author":{"name":"admin","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"headline":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go","datePublished":"2022-10-27T02:00:50+00:00","dateModified":"2022-11-30T00:25:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449"},"wordCount":3251,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png","articleSection":["GCP","Go","Kenneth Ozeki","Pulumi"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449","name":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png","datePublished":"2022-10-27T02:00:50+00:00","dateModified":"2022-11-30T00:25:49+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a"},"description":"GCP, Go, Kenneth Ozeki, Pulumi | terraform\u3084Ansible\u3001AWS","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2022\/08\/pulumi-title.png","width":1186,"height":542},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp\/54449#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"GCP","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/gcp"},{"@type":"ListItem","position":4,"name":"Pulumi \u30ea\u30bd\u30fc\u30b9\u7ba1\u7406\u306e\u4ed5\u7d44\u307f \/ architecture \u3064\u3044\u3066\u8abf\u67fb\u3057\u3066\u307f\u307e\u3057\u305f #Pulumi #GCP #Go"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/7d923d1c017568a1a5e66d7bb1c8764a","name":"admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/12\/avatar.png","caption":"admin"},"url":"https:\/\/www.creationline.com\/tech-blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=54449"}],"version-history":[{"count":76,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54449\/revisions"}],"predecessor-version":[{"id":57064,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/54449\/revisions\/57064"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/53991"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=54449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=54449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=54449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}