cuddly-monkey-5560
02/27/2023, 4:39 PM* 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],
});
Am I missing something necessary? Any help is appreciated!billowy-army-68599
02/27/2023, 4:44 PMcuddly-monkey-5560
02/27/2023, 4:47 PMbillowy-army-68599
02/27/2023, 4:49 PMcuddly-monkey-5560
02/27/2023, 4:53 PMCreateDBClusterSnapshotCommand
from @aws-sdk/client-rds
to create it.billowy-army-68599
02/27/2023, 7:35 PM