GCP Classroom Series – 14/Apr/2021

Understanding templates in Deployment Manager

  • One of the major adantages of using a template is ability to create and define custom template properties
  • Create a .jinja file and then write about the vm resource
  • Now create the configuration and import the jinja template
  • Execute the deployment from gcloud cli
  • Refer Here for the changeset
  • The template created cannot be reused as it contains the project specific links
  • To make this template reusable we need to use the properties Refer Here
  • There are some predefined deployment specific environmental variables Refer Here
  • Refer Here to see the template with properties added.

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%