cuddly-monkey-5560
02/24/2023, 12:08 AM* creating RDS Cluster (restore from snapshot) (temp-cluster): InvalidDBInstanceState: The server state is not yet available
. My implementation to create the cluster is:
const rdsCluster = new rds.Cluster('db-cluster', {
clusterIdentifier: `temp-cluster`,
engine: EngineType.AuroraPostgresql,
engineMode: EngineMode.Provisioned,
masterUsername: 'postgres',
masterPassword: 'postgres',
databaseName: 'postgres',
snapshotIdentifier: <clusterSnapshotIdentifier>,
vpcSecurityGroupIds: [vpcSecurityGroup.id],
});