aws-samples / baseline-environment-on-aws

Baseline Environment on AWS(BLEA) is a set of reference CDK template to establish secure baseline on standalone-account or ControlTower based multi-account AWS environment. This solution provides basic and extensible guardrail with AWS security services and end-to-end sample CDK code for typical system architecture.
382 stars 68 forks source link

The runtime aws_synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_5 has been deprecated #652

Closed miya10 closed 8 months ago

miya10 commented 8 months ago

The CloudWatch Synthetics runtime (SYNTHETICS_NODEJS_PUPPETEER_3_5) has already been deprecated as of January 8, 2024. As a result, a guest template (ECS+SSL) deployment using CDK fails. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html

Affected code section (ECS+SSL sample app): https://github.com/aws-samples/baseline-environment-on-aws/blob/3410efbf512d198e4a914a235db8081104f2adb4/usecases/blea-guest-ecs-app-sample/lib/construct/canary.ts#L53

I needed to specify a version equal to or greater than syn-nodejs-puppeteer-4.0 (fyi: I have verified successful deployment using syn-nodejs-puppeteer-6.0).

konokenj commented 8 months ago

Thank you for reporting. This is fiexed by #662.