我正在尝试使用以下 YAML 配置文件部署 Bigtable 实例:
resources:
- name: foo-bigtable-instance
type: bigtableadmin.v2.instance
properties:
name: foo
displayName: Foo Bigtable Instance
type: Development
当我调用gcloud deployment-manager deployments create时,出现以下错误...
ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1545154324304-57d4f469f9081-51e37137-270e5638]: errors:
- code: MISSING_REQUIRED_FIELD
location: /deployments/sam-poc-deployment/resources/foo-bigtable-instance->$.properties->$.parent
message: |-
Missing required field 'parent' with schema:
{
"type" : "string"
}
什么是必需的“父”属性?该错误表明它是一个具有名为“type”的单个字段的对象。
但是“父母”代表什么?“类型”的允许值是多少?文档中未提及“父”属性。