Skip to content

Instantly share code, notes, and snippets.

@grantorchard
Created May 1, 2019 03:48
Show Gist options
  • Save grantorchard/a00311f703375c0507dfd49b58fc2e3a to your computer and use it in GitHub Desktop.
Save grantorchard/a00311f703375c0507dfd49b58fc2e3a to your computer and use it in GitHub Desktop.
multi-az rds instance
formatVersion: 1
inputs: {}
resources:
RDS_Cluster_1:
type: Cloud.Service.AWS.RDS.Cluster
dependsOn:
- Cloud_Network_1
properties:
region: ap-southeast-2
account: SDDC APJ AWS
master_password: foobarbaz
master_username: foo
skip_final_snapshot: true
availability_zones:
- ap-southeast-2a
- ap-southeast-2c
Cloud_Network_1:
type: Cloud.Network
properties:
name: rds network
networkType: existing
RDS_DB_3:
type: Cloud.Service.AWS.RDS.Cluster.Instance
dependsOn:
- Cloud_Network_1
properties:
count: 2
identifier_prefix: multi-az-
region: ap-southeast-2
account: SDDC APJ AWS
allocated_storage: 20
instance_class: db.t2.small
name: mydb
cluster_identifier: '${resource.RDS_Cluster_1.id}'
multi_az: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment