troposphere
troposphere copied to clipboard
DBcluster/DBInstance using default vpc. DB subnet group 'DBSubnetGroup' does not exist.
Can you please add an example for creating DB cluster
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')