Skip to content

Resolving syntax error in .bootstrap-al2023 #1757

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

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Resolving syntax error in .bootstrap-al2023 #1757

merged 1 commit into from
Jun 28, 2024

Conversation

spenny-jay
Copy link
Contributor

@spenny-jay spenny-jay commented Jun 5, 2024

Issue #, if available:

Description of changes:
When my team was building .NET 8 lambdas, we kept experiencing the following syntax error: /var/runtime/boostrap: line 10: [: missing `]". I looked through this script and noticed there was a missing space before the closing bracket. The script runs absolutely fine outside of the syntax issue.

You can recreate it by adding the environment variable SSL_CERT_FILE and give it any value to a Lambda with a .NET 8 runtime.

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

@dscpinheiro dscpinheiro requested a review from ashovlin June 5, 2024 17:28
@ashovlin ashovlin changed the base branch from master to dev June 28, 2024 15:45
Copy link
Member

@ashovlin ashovlin left a comment

Choose a reason for hiding this comment

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

Change looks good, CI failure is expected since this is from a fork.

@normj - this will just ride out in the next round of image patching, right? Or do we need to ship Amazon.Lambda.RuntimeSupport?

@normj
Copy link
Member

normj commented Jun 28, 2024

@ashovlin Yes we just need to get this into master and will be automatically picked up in next months patches.

@ashovlin ashovlin merged commit 912b99c into aws:dev Jun 28, 2024
3 of 4 checks passed
@ashovlin
Copy link
Member

Thanks for the contribution! I've merged this in, but it won't ride out until next time we patch the Lambda base images, which is typically done monthly.

@spenny-jay
Copy link
Contributor Author

Cool! No problem :)

@wzinda-babelstreet
Copy link

My teams are still seeing this exact issue. How can I tell when the lambda base images have been patched?

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.

4 participants