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

Changing sample-app go.mod redirection #449

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

atshaw43
Copy link
Contributor

@atshaw43 atshaw43 commented Nov 14, 2023

Issue #, if available:
The sample-app does not work out of the box because the go.mod redirection points to the wrong folder.

Description of changes:
Change the redirection to 2 folders up instead. This causes an issue with EB running with Go. So we change it back for the GitHub workflows.

Other option tried:
I tried changing the folder structure of deploy.zip to get this to work without changing the text of go.mod, but this does not seem possible given the limitations of EB. This would have been the preferred option to me because I find editing code/config to to test to be higher maintenance. However, application.go must be at the working directory level. This is hard coded as a part of EB. And it is awkward to try to place the aws-xray-sdk-go folder two levels up.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/go-environment.html

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 14, 2023 23:16
Copy link
Contributor

@wangzlei wangzlei left a comment

Choose a reason for hiding this comment

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

LGTM!

@wangzlei wangzlei merged commit 0497955 into aws:master Nov 14, 2023
12 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