mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 09:47:56 -05:00
AWS::RDS::DBCluster read DBSubnetGroupName only to decide whether an update replaces the cluster, and created the cluster with no subnet group, so it and its members always landed in the default group and the default VPC. With FLOCI_SERVICES_RDS_ENDPOINTS_IN_VPC=true their endpoints were then served where clients in the declared VPC could not reach them. The cluster is now created in the group the template names, a Ref to an AWS::RDS::DBSubnetGroup or a group's name, as CreateDBCluster places it. A group that does not exist fails the resource with CreateDBCluster's DBSubnetGroupNotFoundFault message, and a change of group replaces the cluster into the new one, as the property is create-only. Closes #9938