https://pulumi.com logo
Title
c

cuddly-monkey-5560

02/24/2023, 12:08 AM
Hi, I would like to create an RDS cluster from a snapshot, but am receiving an error:
* 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],
    });