Skip to content

Commit 54b364d

Browse files
authored
Bump CloudWatch Synthetics runtime version (#10)
* chore: bump cloudwatch synthetics runtime version * chore: fix linting issue
1 parent ef48216 commit 54b364d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/lib/stacks/druidStack.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,10 @@ export abstract class DruidStack extends cdk.Stack {
139139

140140
protected createCanary(druidEndpoint: string): synthetics.Canary {
141141
return new synthetics.Canary(this, 'canary', {
142-
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_5_1,
142+
runtime: new synthetics.Runtime(
143+
'syn-nodejs-puppeteer-5.2',
144+
synthetics.RuntimeFamily.NODEJS
145+
),
143146
vpc: this.baseInfra.vpc,
144147
vpcSubnets: { subnets: this.baseInfra.vpc.privateSubnets },
145148
environmentVariables: { DRUID_ENDPOINT: druidEndpoint },

0 commit comments

Comments
 (0)