Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(aws-synthetics): new Synthetics Runtimes are not supported #29141

Closed
stone8 opened this issue Feb 16, 2024 · 5 comments
Closed

(aws-synthetics): new Synthetics Runtimes are not supported #29141

stone8 opened this issue Feb 16, 2024 · 5 comments
Labels
@aws-cdk/aws-synthetics Related to Amazon CloudWatch Synthetics duplicate This issue is a duplicate. feature-request A feature should be added or improved. p1

Comments

@stone8
Copy link

stone8 commented Feb 16, 2024

Describe the bug

The Synthetics CDK code (https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts) doesn't support the new versions released recently (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html): the missing versions include
syn-nodejs-puppeteer-6.2
syn-nodejs-puppeteer-5.2
syn-python-selenium-2.1

Expected Behavior

It is expected the https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts should support the newly release versions:
syn-nodejs-puppeteer-6.2
syn-nodejs-puppeteer-5.2
syn-python-selenium-2.1

Current Behavior

Currently, https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts doesn't support the newly release versions:
syn-nodejs-puppeteer-6.2
syn-nodejs-puppeteer-5.2
syn-python-selenium-2.1

Reproduction Steps

https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts shows the following newly release versions are not supported:
https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts

Possible Solution

Add the newly released Synthetics Runtime versions to the https://github.com/aws/aws-cdk/blob/v2.127.0/packages/aws-cdk-lib/aws-synthetics/lib/runtime.ts

Additional Information/Context

This is urgent, as the following older versions will be deprecated soon.
syn-nodejs-puppeteer-6.1
syn-nodejs-puppeteer-5.1
syn-python-selenium-2.0

CDK CLI Version

v2.128.0

Framework Version

No response

Node.js Version

nodejs 16.x and nodejs 18.x

OS

AWS Lambda

Language

TypeScript

Language Version

No response

Other information

No response

@stone8 stone8 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2024
@github-actions github-actions bot added the @aws-cdk/aws-synthetics Related to Amazon CloudWatch Synthetics label Feb 16, 2024
@kellertk
Copy link
Contributor

The CloudWatch synthetics runtime versions that are present are scheduled to be deprecated by 8 Mar 2024. That means this module will need updating before that date.

@kellertk kellertk added p1 feature-request A feature should be added or improved. needs-review and removed needs-triage This issue or PR still needs to be triaged. bug This issue is a bug. labels Feb 16, 2024
@kellertk
Copy link
Contributor

@wilhen01 got to this one before I did. This issue was fixed by #29132

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@kellertk kellertk added duplicate This issue is a duplicate. and removed needs-review labels Feb 16, 2024
@AlessandroVol23
Copy link

I've installed the latest CDK version (2.133.0) and it seems the newer versions are still not available right?
image

@wilhen01
Copy link
Contributor

@AlessandroVol23 that screenshot contains the latest versions of the NodeJS runtime (6.2, 5.2). I can't actually see it in the screenshot but Python 2.1 should be in there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-synthetics Related to Amazon CloudWatch Synthetics duplicate This issue is a duplicate. feature-request A feature should be added or improved. p1
Projects
None yet
Development

No branches or pull requests

4 participants