当我执行“地形计划”时,出现以下错误:
\n\n\n\xe2\x94\x82 错误:无法确定区域:在此资源中设置,或设置提供程序级别的“区域”或“区域”。
\n
\n\xe2\x94\x82
\n\xe2\x94\x82
\n\xe2\x94\x82 错误:无法确定区域:在此资源中设置,或设置提供程序级别“区域”或“区域”。
\n\xe2\x94\x82
\n\xe2\x94\x82
\n操作失败:运行 terraform 计划失败(退出 1)
我的提供商看起来像这样
\nprovider "google" { \n project = "test" \n region = "europe-west2" \n zone = "europe-west2-c"\n}\nRun Code Online (Sandbox Code Playgroud)\n资源的一个例子是
\nresource "google_bigquery_dataset" "test" {\n location = "EU"\n dataset_id = "test"\n friendly_name = "test"\n}\nRun Code Online (Sandbox Code Playgroud)\n