Skip to content

Commit

Permalink
Bump CloudWatch Synthetics runtime version (#10)
Browse files Browse the repository at this point in the history
* chore: bump cloudwatch synthetics runtime version

* chore: fix linting issue
  • Loading branch information
chn217 authored Mar 8, 2024
1 parent ef48216 commit 54b364d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/lib/stacks/druidStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ export abstract class DruidStack extends cdk.Stack {

protected createCanary(druidEndpoint: string): synthetics.Canary {
return new synthetics.Canary(this, 'canary', {
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_5_1,
runtime: new synthetics.Runtime(
'syn-nodejs-puppeteer-5.2',
synthetics.RuntimeFamily.NODEJS
),
vpc: this.baseInfra.vpc,
vpcSubnets: { subnets: this.baseInfra.vpc.privateSubnets },
environmentVariables: { DRUID_ENDPOINT: druidEndpoint },
Expand Down

0 comments on commit 54b364d

Please sign in to comment.