/**
* The MySQL or PostgreSQL version to
* use. Can be `MYSQL_5_6`, `MYSQL_5_7`, `POSTGRES_9_6` or `POSTGRES_11` (beta) for second-generation
* instances, or `MYSQL_5_5` or `MYSQL_5_6` for first-generation instances.
* See [Second Generation Capabilities](https://cloud.google.com/sql/docs/1st-2nd-gen-differences)
* for more information.
*/
readonly databaseVersion?: pulumi.Input<string>;
In AWS CDK it was an easy task to select Postgres - in Pulumi case I had to read the comment. const db = new gcp.sql.DatabaseInstance('app-db', {
databaseVersion: 'POSTGRES_11',
region: 'us-central1',
settings: {
tier: 'db-f1-micro',
diskType: 'PD_HDD',
},
});
Database in AWS CDK: const db = new rds.DatabaseInstance(this, 'AppDb', {
engine: rds.DatabaseInstanceEngine.POSTGRES,
engineVersion: '11.5',
instanceClass: ec2.InstanceType.of(
ec2.InstanceClass.STANDARD5,
ec2.InstanceSize.XLARGE
),
storageType: rds.StorageType.GP2
})
Not to mention they have higher level constructs like DatabaseCluster that will handle the underlying details of replicas and create the lower level resources for you.
The Proactive Security team at AWS is looking for Engineers and Engineering Managers to bootstrap a new effort for secure by default. You’ll ship secure by default CDK constructs and Java/Python/etc libraries which will help engineers build secure software. Apply below.
Engineering Manager (L6): https://amazon.jobs/en/jobs/2249659/software-development-man...
Engineering Manager (L5): https://amazon.jobs/en/jobs/2249660/software-development-man...
Engineer (L6): https://www.amazon.jobs/en/jobs/2045036/software-dev-enginee...
Engineer (L5): https://www.amazon.jobs/en/jobs/1917469/software-development...
Support Engineer (L5): https://www.amazon.jobs/en/jobs/2235753/support-engineer-aws...