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

Upgrade aws-cdk-lib to latest 2.134.0 version #414

Merged
merged 2 commits into from
May 18, 2024

Conversation

rishabh6788
Copy link
Collaborator

@rishabh6788 rishabh6788 commented Apr 3, 2024

Description

This PR:

  • Upgrades aws-cdk-lib library version to latest 2.134.0 version.
  • Replaces deprecated methods with ones supported by latest version.
  • Upgrades Main and agent node from AL2 to AL2023.

Issues Resolved

#396

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

bin/ci-stack.ts Outdated
const ciStack = new CIStack(app, `OpenSearch-CI-${defaultEnv}`, {});
const ciStack = new CIStack(app, `OpenSearch-CI-${defaultEnv}`, {
env: {
region: 'us-east-1',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required while enabling VPC Flow logs. Without this build will succeed but cdk targets will fail.

Signed-off-by: Rishabh Singh <sngri@amazon.com>
@@ -31,7 +31,7 @@ export class ArtifactsPublicAccess {
}));

const urlRewriter = new NodejsFunction(stack, 'CfUrlRewriter', {
runtime: Runtime.NODEJS_14_X,
runtime: Runtime.NODEJS_16_X,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node16 is already eol and consider it is very similar with node18, can we just move to node18 here?

bin/ci-stack.ts Show resolved Hide resolved
lib/compute/jenkins-main-node.ts Show resolved Hide resolved
@rishabh6788 rishabh6788 merged commit b2bd241 into opensearch-project:main May 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants