troposphere icon indicating copy to clipboard operation
troposphere copied to clipboard

DBcluster/DBInstance using default vpc. DB subnet group 'DBSubnetGroup' does not exist.

Open rajatrj16 opened this issue 6 years ago • 1 comments

Can you please add an example for creating DB cluster

rajatrj16 avatar Apr 26 '19 13:04 rajatrj16

DBSubnetGroup = t.add_resource(rds.DBSubnetGroup(
    'RDSDBSubnetGroup',
    DBSubnetGroupDescription='Subnets Available for the Database',
    SubnetIds=<yoursubnetIDshere>,
))

Then in your RDS resource, Reference the Subnet Group DBSubnetGroupName=Ref('RDSDBSubnetGroup')

brandonshough avatar Jul 02 '20 02:07 brandonshough