GCP Deployment Manager: Templates automcomplete/validation?

261 Views Asked by At

It's hard to navigate through all the docs given the number of services and properties involved in creating templates for the Deployment Manager. I wonder if there is a solution for that. I imagine that code editors like VS-Code are supposed to have autocomplete, maybe GCP provides something to help write templates faster.

1

There are 1 best solutions below

0
PjoterS On

I doubt that there is something like autocomplete for Deployment Manager Templates.

Deployment Manager accepts both Jinja and Python syntax in the same configuration as mentioned in Template Syntax

Deployment Manager accepts both Jinja and Python templates. You can import templates in both languages in the same configuration.

As OP stkvtflw mentioned, there is already documentation which covers all schemas in GCP Documentation - Supported resource types.

Additional samples can be found in Github repository, which can be found here

Regarding the possibility to use autocomplete in Deployment Manager, there is a still opened Github Feature Request to Add support for auto completion of configuration files.

In addition to that, you could file a Feature Request in Google Issue Tracker.