Created
April 3, 2016 18:32
-
-
Save wkharold/46d2835392d0c9ec57c3a7dffafcd485 to your computer and use it in GitHub Desktop.
top level deployment manager vpn 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
{% set HD_CLUSTER = "qa" %} | |
resources: | |
- name: {{ HD_CLUSTER }} | |
type: network-template.jinja | |
properties: | |
ip_range: 10.xyz.0.40/29 | |
- name: gateway-{{ HD_CLUSTER }}-vpn | |
type: vpn-template.jinja | |
properties: | |
address: 104.x.y.z | |
destcidr: 10.xyz.0.40/29 | |
network: projects/mycluster/global/networks/gateway | |
peerip: 130.x.y.z | |
region: us-central1 | |
- name: gateway-{{ HD_CLUSTER }}-vpn-tunnel-1 | |
type: vpn-tunnel-template.jinja | |
properties: | |
destcidr: 10.xyz.0.40/29 | |
network: projects/mycluster/global/networks/gateway | |
peerip: 104.x.y.z | |
region: us-central1 | |
secret: supersecret | |
target: gateway-{{ HD_CLUSTER }}-vpn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment