我的服务名称:GGD
app_GGD.yaml
runtime: python38
service: GGD
instance_class: F2
...
命令:gcloud应用程序部署--appyaml=app_GGD.yaml
ERROR: (gcloud.app.deploy) An error occurred while parsing file: [app_GGD.yaml]
Unable to assign value 'GGD' to attribute 'service':
Value 'GGD' for service does not match expression '^(?:^(?!-)[a-zd-]{0,62}[a-zd]$)$'
in "app_GGD.yaml", line 3, column 10
还有什么需要我设置的吗?
应用程序引擎服务名称使用小写字母、数字和短划线(hypens)。服务名称必须以小写字母开头和结尾。
错误消息包含正则表达式^(?:^(?!-)[a-zd-]{0,62}[a-zd]$)$
。此表达式定义服务名称的字符集和格式。