Created
April 3, 2016 18:43
-
-
Save wkharold/5a9779e4cbd3ec1b81d191f2f912af22 to your computer and use it in GitHub Desktop.
deployment manager vpn tunnel creation template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: {{ env["name"] }} | |
type: compute.v1.vpnTunnel | |
properties: | |
peerIp: {{ properties["peerip"] }} | |
region: {{ properties["region"] }} | |
sharedSecret: {{ properties["secret"] }} | |
targetVpnGateway: $(ref.{{ properties["target"] }}.selfLink) | |
- name: {{ env["name"] }}-route-1 | |
type: compute.v1.route | |
properties: | |
destRange: {{ properties["destcidr"] }} | |
nextHopVpnTunnel: $(ref.{{ env["name"] }}.selfLink) | |
network: {{ properties["network"] }} | |
priority: 1000 | |
tags: | |
- qa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment