GoogleCloudPlatform / deploymentmanager-samples

Deployment Manager samples and templates.
Apache License 2.0
939 stars 717 forks source link

Wrong type in examples/v2/cloudsql/cloudsql.jinja.schema #501

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi,

in examples/v2/cloudsql/cloudsql.jinja.schema line 59, authorizedNetworks is wrongly defined as array of strings instead of objects. Passing CIDR strings does not work:

wrong: authorizedNetworks:

correct: authorizedNetworks:

Hence, the schema should be:

  authorizedNetworks:
    type: array
    description: An array of allowed CIDR blocks
    items:
      type: **object**

Kind regards, André.