https://cloud.google.com/deployment-manager/docs/configuration/templates/using-schemas
Im using jinja templates that depend on other jinja templates so I MUST use a schema to import them
This is all my schema has in it:
#top-level-template1.jinja.schema
imports:
- path: sub-template.jinja
Then in my top level template I have this:
# top-level-template1.jinja
resources:
- name: myresource
type: sub-template.jinja
I want create multiple top level templates that use the same sub template (top-level-template1.jinja
, top-level-template2.jinja
, top-level-template2.jinja
, etc)
Do I seriously have to create a schema file for every one of those? Can I share the same schema between them somehow? I would feel stupid copying it a bunch of times and just giving it a different name