{"id":49131,"date":"2023-06-23T18:33:03","date_gmt":"2023-11-11T15:10:11","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/"},"modified":"2024-01-15T12:48:58","modified_gmt":"2024-01-15T04:48:58","slug":"%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/","title":{"rendered":"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u6211\u6253\u7b97\u8bd5\u4e00\u4e0b\u5728terraform\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aTRACE\u3001DEBUG\u3001INFO\u3001WARN\u3001ERROR\u7b49\u7ea7\u6765\u8f93\u51fa\u6267\u884c\u65f6\u7684\u65e5\u5fd7\u3002\u8bd5\u8bd5\u770b\u54ea\u4e2a\u7ea7\u522b\u4f1a\u8f93\u51fa\u4ec0\u4e48\u6837\u7684\u65e5\u5fd7\u5185\u5bb9\u3002<\/p>\n<h1>\u5de5\u4f5c\u65b9\u6cd5<\/h1>\n<p>\u6211\u6253\u7b97\u5e94\u7528\u4e00\u4e2a\u53ea\u5305\u542b\u521b\u5efaec2\u7684\u7b80\u5355tf\u6587\u4ef6\uff0c\u7136\u540e\u67e5\u770b\u65e5\u5fd7\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nx\">resource<\/span> <span class=\"s2\">\"aws_instance\"<\/span> <span class=\"s2\">\"example\"<\/span> <span class=\"p\">{<\/span>\r\n<span class=\"nx\">ami<\/span> <span class=\"p\">=<\/span> <span class=\"s2\">\"ami-0f9ae750e8274075b\"<\/span>\r\n<span class=\"nx\">instance_type<\/span> <span class=\"p\">=<\/span> <span class=\"s2\">\"t2.micro\"<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u662f\u7528\u4e8e\u65e5\u5fd7\u8f93\u51fa\u7684\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>TF_LOG=debug TF_LOG_PATH=\/tmp\/terraform_debug.log terraform apply\r\n<\/code><\/pre>\n<p>TF_LOG_PATH\u548cTF_LOG\u7528\u4e8e\u6307\u5b9a\u8f93\u51fa\u65e5\u5fd7\u7ea7\u522b\u548c\u8f93\u51fa\u76ee\u6807\u6587\u4ef6\u3002\u672c\u6b21\u9009\u62e9\u4e86debug\u7ea7\u522b\u3002<\/p>\n<h1>\u67e5\u770b\u65e5\u5fd7<\/h1>\n<p>\u5e94\u7528\u540e\uff0c\u6587\u4ef6\u88ab\u8f93\u51fa\u5230\u901a\u8fc7TF_LOG_PATH\u6307\u5b9a\u7684\u4f4d\u7f6e\u3002<br \/>\n\u6211\u7acb\u5373\u60f3\u53bb\u67e5\u770b\uff0c\u4f46\u662f\u51fa\u73b0\u4e86\u5927\u91cf\u7684\u65e5\u5fd7\u4fe1\u606f\u3002<\/p>\n<p>\u6839\u636e\u884c\u6570\u6765\u770b\uff0c<\/p>\n<pre class=\"post-pre\"><code>#  cat \/tmp\/terraform_debug.log | wc -l\r\n    1767\r\n<\/code><\/pre>\n<p>\u521b\u5efa\u4e861767\u4e2aEC2\u5b9e\u4f8b\uff0c\u4f46\u53ea\u662f\u8fd9\u6837\u7b80\u5355\u7684\u64cd\u4f5c\u5374\u4ea7\u751f\u4e86\u5927\u91cf\u7684\u65e5\u5fd7\u8bb0\u5f55\u3002<\/p>\n<p>\u5f53\u4f7f\u7528\u5934\u6765\u7a0d\u5fae\u67e5\u770b\u4e00\u4e0b\u5185\u5bb9\u65f6\uff0c<\/p>\n<pre class=\"post-pre\"><code># cat \/tmp\/terraform_debug.log | head\r\n2021\/03\/18 09:40:53 [INFO] Terraform version: 0.12.24\r\n2021\/03\/18 09:40:53 [INFO] Go runtime version: go1.12.13\r\n2021\/03\/18 09:40:53 [INFO] CLI args: []string{\"\/usr\/local\/Cellar\/tfenv\/1.0.2\/versions\/0.12.24\/terraform\", \"apply\"}\r\n2021\/03\/18 09:40:53 [DEBUG] Attempting to open CLI config file: \/Users\/******\/.terraformrc\r\n2021\/03\/18 09:40:53 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.\r\n2021\/03\/18 09:40:53 Loading CLI configuration from \/Users\/******\/.terraform.d\/credentials.tfrc.json\r\n2021\/03\/18 09:40:53 [INFO] CLI command args: []string{\"apply\"}\r\n2021\/03\/18 09:40:53 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.\r\n  Use TF_LOG=TRACE to see Terraform's internal logs.\r\n  ----\r\n<\/code><\/pre>\n<p>\u9664\u4e86DEBUG\u7ea7\u522b\u7684\u65e5\u5fd7\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u65e5\u5fd7\u88ab\u8f93\u51fa\u3002\u4ed4\u7ec6\u60f3\u60f3\uff0c\u56e0\u4e3a\u901a\u5e38\u6307\u5b9a\u4e86\u4ee5\u4e0a\u7ea7\u522b\u7684\u65e5\u5fd7\u88ab\u8f93\u51fa\uff0c\u6240\u4ee5\u5f53\u7136\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n<p>\u90a3\u4e48\uff0c\u5982\u679c\u601d\u8003\u4e00\u4e0b\uff0c\u662f\u5426\u6ca1\u6709\u8f93\u51fa\u5173\u4e8e DEBUG \u4ee5\u4e0b\u4fe1\u606f\u7684 TRACE \u5462\uff1f<\/p>\n<pre class=\"post-pre\"><code>#  cat \/tmp\/terraform_debug.log | grep TRACE\r\n2021\/03\/18 09:40:53 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.\r\n  Use TF_LOG=TRACE to see Terraform's internal logs.\r\n2021\/03\/18 09:40:53 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.\r\n  Use TF_LOG=TRACE to see Terraform's internal logs.\r\n2021-03-18T09:41:21.188+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 09:41:21 [TRACE] Waiting 3s before next try: timestamp=2021-03-18T09:41:21.187+0900\r\n2021-03-18T09:41:24.469+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 09:41:24 [TRACE] Waiting 6s before next try: timestamp=2021-03-18T09:41:24.469+0900\r\n2021-03-18T09:41:30.584+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 09:41:30 [TRACE] Waiting 10s before next try: timestamp=2021-03-18T09:41:30.584+0900\r\n<\/code><\/pre>\n<p>\u55ef\u55ef\uff1f\u6709\u4e2a[TRACE]\u5462\u3002\u3002\u4ece\u884c\u5934\u770b\u8d77\u6765\uff0c\u662f\u4e0d\u662f\u5148\u6709[INFO]\uff0c\u6240\u4ee5\u8fd9\u662f[INFO]\u5904\u7406\u8fd8\u662f\u5728\u6267\u884c\u547d\u4ee4\u65f6\u88ab\u5ffd\u7565\u4e86\uff0c\u56e0\u4e3aTF_LOG=debug\u548cdebug\u662f\u5c0f\u5199\u6307\u5b9a\u7684\uff1f<\/p>\n<h1>\u67e5\u770b\u65e5\u5fd72<\/h1>\n<p>\u8fd9\u6b21\u6211\u4eec\u5c06\u9500\u6bc1\u521b\u5efa\u7684\u73af\u5883\uff0c\u5e76\u5c1d\u8bd5\u4f7f\u7528\u5927\u5199\u7684TF_LOG=DEBUG\u8fdb\u884c\u6307\u5b9a\u3002<\/p>\n<pre class=\"post-pre\"><code>TF_LOG=DEBUG TF_LOG_PATH=\/tmp\/terraform_debug2.log terraform apply\r\n<\/code><\/pre>\n<p>\u8bf7\u518d\u4f7f\u7528grep\u547d\u4ee4\u786e\u8ba4\u4e00\u6b21\u662f\u5426\u6709TRACE\u8f93\u51fa\u3002<\/p>\n<pre class=\"post-pre\"><code># cat \/tmp\/terraform_debug2.log | grep TRACE                                                       2021\/03\/18 10:05:38 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.\r\n  Use TF_LOG=TRACE to see Terraform's internal logs.\r\n2021\/03\/18 10:05:38 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.\r\n  Use TF_LOG=TRACE to see Terraform's internal logs.\r\n2021-03-18T10:06:07.952+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 10:06:07 [TRACE] Waiting 3s before next try: timestamp=2021-03-18T10:06:07.952+0900\r\n2021-03-18T10:06:11.084+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 10:06:11 [TRACE] Waiting 6s before next try: timestamp=2021-03-18T10:06:11.084+0900\r\n2021-03-18T10:06:17.511+0900 [INFO]  plugin.terraform-provider-aws_v3.29.0_x5: 2021\/03\/18 10:06:17 [TRACE] Waiting 10s before next try: timestamp=2021-03-18T10:06:17.511+0900\r\n<\/code><\/pre>\n<p>\u4f60\u770b\u8d77\u6765\u5f88\u61c2\u3002\u90a3\u4e48\uff0c\u8fd9\u4f3c\u4e4e\u662f\u88ab\u5f52\u7c7b\u5230\u4e86[INFO]\u3002<\/p>\n<h1>\u67e5\u770b\u65e5\u5fd73<\/h1>\n<p>\u6211\u5df2\u7ecf\u5c1d\u8bd5\u8fc7\u5b9e\u9645\u6307\u5b9aTRACE\u7ea7\u522b\u4f1a\u53d1\u751f\u4ec0\u4e48\u60c5\u51b5\u4e86\u3002<\/p>\n<pre class=\"post-pre\"><code>TF_LOG=TRACE TF_LOG_PATH=\/tmp\/terraform_trace.log terraform apply\r\n<\/code><\/pre>\n<p>\u6211\u4f1a\u786e\u8ba4TRACE\u7684\u5185\u5bb9\u3002<\/p>\n<pre class=\"post-pre\"><code># cat \/tmp\/terraform_trace.log | grep TRACE | head\r\n2021\/03\/18 10:11:00 [TRACE] Meta.Backend: built configuration for \"s3\" backend with hash value 873148124\r\n2021\/03\/18 10:11:00 [TRACE] Preserving existing state lineage \"c6ae9e85-4f2d-0e02-65e1-c6a98f94be5e\"\r\n2021\/03\/18 10:11:00 [TRACE] Preserving existing state lineage \"c6ae9e85-4f2d-0e02-65e1-c6a98f94be5e\"\r\n2021\/03\/18 10:11:00 [TRACE] Meta.Backend: working directory was previously initialized for \"s3\" backend\r\n2021\/03\/18 10:11:00 [TRACE] Meta.Backend: using already-initialized, unchanged \"s3\" backend configuration\r\n2021\/03\/18 10:11:03 [TRACE] Meta.Backend: instantiated backend of type *s3.Backend\r\n2021\/03\/18 10:11:03 [TRACE] Meta.Backend: backend *s3.Backend does not support operations, so wrapping it in a local backend\r\n2021\/03\/18 10:11:03 [TRACE] backend\/local: requesting state manager for workspace \"default\"\r\n2021\/03\/18 10:11:03 [TRACE] backend\/local: requesting state lock for workspace \"default\"\r\n2021\/03\/18 10:11:03 [TRACE] backend\/local: reading remote state for workspace \"default\"\r\n<\/code><\/pre>\n<p>\u521a\u624d\u8f93\u51fa\u4e86\u5927\u91cf\u7684\u65e5\u5fd7\u3002\u5f53\u6307\u5b9a[TRACE]\u548c[TRACE]\u7ea7\u522b\u7684\u65e5\u5fd7\u51fa\u73b0\u5728[INFO]\u5185\u65f6\uff0c\u5b83\u4eec\u4f3c\u4e4e\u662f\u4e0d\u540c\u7c7b\u578b\u7684\u3002<\/p>\n<h1>\u65e5\u5fd7\u6587\u4ef6\u7684\u5185\u5bb9\u88ab\u8f93\u51fa<\/h1>\n<p>\u7531\u4e8e\u6570\u91cf\u5e9e\u5927\uff0c\u65e0\u6cd5\u8be6\u7ec6\u67e5\u770b\uff0c\u4f46\u5185\u5bb9\u4e2d\u4e5f\u5305\u542b\u4e86\u5b9e\u4f8bID\u548cIP\u5730\u5740\u7b49\u8be6\u7ec6\u4fe1\u606f\u3002\u5982\u679c\u4ece\u8f93\u51fa\u7684\u65e5\u5fd7\u4e2d\u63d0\u53d6\u5404\u79cd\u4fe1\u606f\uff0c\u81ea\u52a8\u5316\u7684\u5de5\u4f5c\u5c06\u4f1a\u53d8\u5f97\u66f4\u52a0\u987a\u5229\u3002<\/p>\n<pre class=\"post-pre\"><code>{\r\n  \"version\": 4,\r\n  \"terraform_version\": \"0.12.24\",\r\n  \"serial\": 2,\r\n  \"lineage\": \"79a10223-15ac-3d6e-a5ad-ca554873829d\",\r\n  \"outputs\": {},\r\n  \"resources\": [\r\n    {\r\n      \"mode\": \"managed\",\r\n      \"type\": \"aws_instance\",\r\n      \"name\": \"example\",\r\n      \"provider\": \"provider.aws\",\r\n      \"instances\": [\r\n        {\r\n          \"schema_version\": 1,\r\n          \"attributes\": {\r\n            \"ami\": \"ami-0f9ae750e8274075b\",\r\n&lt;\u7701\u7565&gt;\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u6211\u6253\u7b97\u8bd5\u4e00\u4e0b\u5728terraform\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aTRACE\u3001DEBUG\u3001INFO\u3001WARN\u3001ERROR\u7b49 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49131","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7 - Blog - Silicon Cloud<\/title>\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.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u8f93\u51faterraform\u7684\u65e5\u5fd7\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u6211\u6253\u7b97\u8bd5\u4e00\u4e0b\u5728terraform\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aTRACE\u3001DEBUG\u3001INFO\u3001WARN\u3001ERROR\u7b49 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u8f93\u51faterraform\u7684\u65e5\u5fd7\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-11T15:10:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T04:48:58+00:00\" \/>\n<meta name=\"author\" content=\"\u6587, \u7fd4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6587, \u7fd4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/\",\"name\":\"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-11-11T15:10:11+00:00\",\"dateModified\":\"2024-01-15T04:48:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c\",\"name\":\"\u6587, \u7fd4\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g\",\"caption\":\"\u6587, \u7fd4\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u8f93\u51faterraform\u7684\u65e5\u5fd7\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7","og_description":"\u9996\u5148 \u6211\u6253\u7b97\u8bd5\u4e00\u4e0b\u5728terraform\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aTRACE\u3001DEBUG\u3001INFO\u3001WARN\u3001ERROR\u7b49 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5c1d\u8bd5\u8f93\u51faterraform\u7684\u65e5\u5fd7\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-11T15:10:11+00:00","article_modified_time":"2024-01-15T04:48:58+00:00","author":"\u6587, \u7fd4","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6587, \u7fd4","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/","name":"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-11-11T15:10:11+00:00","dateModified":"2024-01-15T04:48:58+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5c1d\u8bd5\u8f93\u51faTerraform\u7684\u65e5\u5fd7"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/64d5cc7727fffbff2f9a2a8da1de3e5c","name":"\u6587, \u7fd4","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/920c3d673e0bccacc98e5e6b7149bb3c22edd8d39cb753e5d7d7e471498118a1?s=96&d=mm&r=g","caption":"\u6587, \u7fd4"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/wenxiang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%9d%e8%af%95%e8%be%93%e5%87%baterraform%e7%9a%84%e6%97%a5%e5%bf%97%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=49131"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49131\/revisions"}],"predecessor-version":[{"id":59611,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49131\/revisions\/59611"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=49131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=49131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=49131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}