Pau*_*lyP 1 google-cloud-platform terraform google-cloud-functions terraform-provider-gcp
我已经能够部署几个月了,现在今天早上我突然收到此错误。
\n\xe2\x94\x82 Error: Error while updating cloudfunction configuration: Error waiting for Updating CloudFunctions Function: Error code 3, message: Build failed: curl: (22) The requested URL returned error: 404 \n\xe2\x94\x82 \n\xe2\x94\x82 gzip: stdin: unexpected end of file\n\xe2\x94\x82 tar: Child returned status 1\n\xe2\x94\x82 tar: Error is not recoverable: exiting now; Error ID: 637fe2a4\n\xe2\x94\x82 \n\xe2\x94\x82 with google_cloudfunctions_function.syncFiles,\n\xe2\x94\x82 on functions.tf line 396, in resource "google_cloudfunctions_function" "syncFiles":\n\xe2\x94\x82 396: resource "google_cloudfunctions_function" "syncFiles" {\n\xe2\x94\x82 \nRun Code Online (Sandbox Code Playgroud)\n这是地形配置。我们压缩该目录并将其交给云函数进行部署
\ndata "archive_file" "source-zip" {\n type = "zip"\n source_dir = "${path.root}/../dist/"\n output_path = "${path.root}/../dist/files/${var.app_name}.zip"\n excludes = ["files/**"]\n}\n\nresource "google_storage_bucket_object" "deploy-zip" {\n name = "${var.app_name}/${var.app_name}-${data.archive_file.source-zip.output_md5}.zip"\n bucket = "${var.env_name}-deploy"\n source = "${path.root}/../dist/files/${var.app_name}.zip"\n depends_on = [data.archive_file.source-zip]\n}\n\noutput "deploy_zip" {\n value = google_storage_bucket_object.deploy-zip.name\n}\n\nRun Code Online (Sandbox Code Playgroud)\n什么可能导致此错误?
\n这是内部问题吗?
\n我在 Google 支持下开出了一张票,但还没有什么用处。
\n| 归档时间: |
|
| 查看次数: |
882 次 |
| 最近记录: |