Currently, in v2, DatabaseReplica and Ec2SSMConnect components are tightly coupled with the Database component. We should aim to decouple them with the creation of one Parent component which will consist of all of them and be exported from the DatabaseBuilder.
Consider:
- what is the best naming for the
Parent of the individual components
- moving
vpc (and others) from the Database to the Parent
- separate testing of individual components and the
Parent
Currently, in v2,
DatabaseReplicaandEc2SSMConnectcomponents are tightly coupled with theDatabasecomponent. We should aim to decouple them with the creation of oneParentcomponent which will consist of all of them and be exported from theDatabaseBuilder.Consider:
Parentof the individual componentsvpc(and others) from theDatabaseto theParentParent