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 Preview Preview
  • 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 Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube