Skip to content

Commit

Permalink
Added the template
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Apr 14, 2021
1 parent 4804c1a commit bd726dc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions April21/deploymentmanager/vm/ubuntuvm.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
resources:
- name: my-first-vm
type: compute.v1.instance
properties:
machineType: https://www.googleapis.com/compute/v1/projects/qtlearning/zones/us-central1-f/machineTypes/f1-micro
zone: us-central1-f
networkInterfaces:
- network: global/networks/default
disks:
- type: PERSISTENT
boot: yes
initializeParams:
sourceImage: https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1804-bionic-v20210412

5 changes: 5 additions & 0 deletions April21/deploymentmanager/vm/vms.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
imports:
- path: ubuntuvm.jinja
resources:
- name: vm1
type: ubuntuvm.jinja

0 comments on commit bd726dc

Please sign in to comment.