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

chore: upgrade to SDK v3 #1709

Merged
merged 11 commits into from
Jul 25, 2024
Merged

chore: upgrade to SDK v3 #1709

merged 11 commits into from
Jul 25, 2024

Conversation

comcalvi
Copy link
Contributor

@comcalvi comcalvi commented Jul 25, 2024

Follow-up to #1706, which upgraded the node runtimes to 20. Node 20 is only compatible with SDK v3. This removes every use of the SDK v2.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@comcalvi comcalvi changed the title chore: upgrade custom resource handlers to SDK v3 chore: upgrade to SDK v3 Jul 25, 2024
Copy link
Contributor

@scanlonp scanlonp left a comment

Choose a reason for hiding this comment

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

A few nits. Otherwise looks good.

Comment on lines +2 to +6


// eslint-disable-next-line import/no-extraneous-dependencies
import { CodePipeline } from '@aws-sdk/client-codepipeline';
const pipeline = new CodePipeline();
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// eslint-disable-next-line import/no-extraneous-dependencies
import { CodePipeline } from '@aws-sdk/client-codepipeline';
const pipeline = new CodePipeline();
import { CodePipeline } from '@aws-sdk/client-codepipeline';
const pipeline = new CodePipeline();

formatting clean up

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you think the comment line // eslint-disable-next-line import/no-extraneous-dependencies is there?

Copy link
Contributor

Choose a reason for hiding this comment

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

The suggester wouldn't let me highlight line 1. It's duplicated there.

Comment on lines +2 to +5


// eslint-disable-next-line import/no-extraneous-dependencies
import { S3 } from '@aws-sdk/client-s3';
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// eslint-disable-next-line import/no-extraneous-dependencies
import { S3 } from '@aws-sdk/client-s3';
import { S3 } from '@aws-sdk/client-s3';

formatting clean up

Comment on lines +2 to +5


// eslint-disable-next-line import/no-extraneous-dependencies
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch';
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// eslint-disable-next-line import/no-extraneous-dependencies
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch';
import { CloudWatch, Dimension, PutMetricDataCommandInput } from '@aws-sdk/client-cloudwatch';

formatting clean up

@scanlonp scanlonp added the do-not-merge Do not automerge. THIS LABEL NAME SHOULD NOT BE CHANGED. It's co-dependent to the Github action. label Jul 25, 2024
@rix0rrr rix0rrr removed the do-not-merge Do not automerge. THIS LABEL NAME SHOULD NOT BE CHANGED. It's co-dependent to the Github action. label Jul 25, 2024
@rix0rrr rix0rrr merged commit 1f73dd2 into main Jul 25, 2024
9 checks passed
@rix0rrr rix0rrr deleted the comcalvi/upgrade-stuff branch July 25, 2024 08:23
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.

3 participants