Skip to content

Conversation

atshaw43
Copy link
Contributor

Issue #, if available:

Description of changes:
The sample app used in integration tests needs a dependency on the aws lambda library to run.

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

@atshaw43 atshaw43 requested a review from a team as a code owner November 11, 2022 20:29
github.com/DATA-DOG/go-sqlmock v1.4.1/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY=
github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/aws/aws-lambda-go v1.34.1 h1:M3a/uFYBjii+tDcOJ0wL/WyFi2550FHoECdPf27zvOs=
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be updating the go.mod file instead?

Copy link
Contributor Author

@atshaw43 atshaw43 Nov 11, 2022

Choose a reason for hiding this comment

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

If I edit it in the mod file, then it rips it out during "go mod tidy". I think it is because project itself does not have a direct dependency. It depends on a project that depends on a it.

Copy link
Contributor Author

@atshaw43 atshaw43 Nov 11, 2022

Choose a reason for hiding this comment

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

When I ran "go mod download github.com/aws/aws-lambda-go" on the integration test EC2 instance, then it worked.
So I ran it locally (after moving a copy of the SDK into the same folder) and this is the change.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see, it's a transitive dependency of the SDK. Makes sense thanks for looking into this!

Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

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

LGTM

@atshaw43 atshaw43 merged commit 65ab7d5 into aws:master Nov 11, 2022
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