每次我尝试通过部署管理器对预览中的现有部署运行更新时,都会收到错误消息:
$ gcloud deployment-manager deployments update abc --config abc.yaml
ERROR: (gcloud.deployment-manager.deployments.update) ResponseError: code=400, message=Invalid value for field 'resource.target': ''. Deployment in preview must not have a target with UPDATE
但是,如果我不在 gcloud 命令行上使用更新并转到控制台并单击“部署”,则更新会正常进行。
这可能是什么原因造成的?