Skip to content

Instantly share code, notes, and snippets.

@ricardochaves
Created November 6, 2019 22:31
Show Gist options
  • Save ricardochaves/6c559325ee149329f45dffbf5c61de42 to your computer and use it in GitHub Desktop.
Save ricardochaves/6c559325ee149329f45dffbf5c61de42 to your computer and use it in GitHub Desktop.
Script for Google Deployment Manager
imports:
- path: setup-k8s.py
- path: setup-ip.py
- path: setup-sql.py
resources:
- name: cluster
type: setup-k8s.py
properties:
CLUSTER_NAME: cluster-1
CLUSTER_ZONE: us-central1-a
NUM_NODES: 1
- name: sql-host
type: setup-sql.py
properties:
SQL_ZONE: us-central1-a
DB_NAME: test-1
USER_NAME: user-1
USER_PASSWORD: MINHA_senha_123
- name: ip
type: setup-ip.py
properties:
IP_NAME: ip-test
REGION: us-central1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment