【发布时间】:2015-04-09 17:21:48
【问题描述】:
$ gcloud compute images create image99 --source-uri gs://bucket99/1234z.image.tar.gz
NAME PROJECT ALIAS DEPRECATED STATUS
ERROR: (gcloud.compute.images.create) Some requests did not succeed:
- Invalid value 'PROJECT'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
我正在使用此 URI 方案将 RAW 图像添加到我的项目中,但返回上述错误。我创建了一个项目并将 1234z.image.tar.gz 上传到 storage -> cloud storage。如何将图像添加到我的项目中?
gs://BUCKET_NAME/IMAGE_NAME.image.tar.gz
【问题讨论】:
标签: google-cloud-storage google-compute-engine gcloud