【发布时间】:2019-10-09 22:08:35
【问题描述】:
如果我使用 jinja 模板,我可以通过这样的命令行覆盖属性:
--properties zone:us-central1-a,machineType:n1-standard-1,image:debian-9
但我没有看到使用标签或 environmentVariables 等嵌套属性执行此操作的文档或示例:
resources:
- name: resource-name
type: 'gcp-types/cloudfunctions-v1:projects.locations.functions'
properties:
labels:
testlabel1: testlabel1value
testlabel2: testlabel2value
environmentVariables:
TEST: 'zzzzzzzzz'
如何设置这些属性?这不起作用:--properties labels:testlabel1:newvalue
【问题讨论】: