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

Deprecate provided, go1.x and java8 #139

Merged
merged 5 commits into from
Mar 27, 2024
Merged

Conversation

hawflau
Copy link
Contributor

@hawflau hawflau commented Mar 20, 2024

Issue #, if available:

Description of changes:
Deprecate build images for provided, go1.x and java8 as these runtimes are deprecated on 3/12 - https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hawflau hawflau requested a review from a team as a code owner March 20, 2024 15:41
@hawflau hawflau requested review from lucashuy and mildaniel March 20, 2024 15:41
Copy link
Contributor

@hnnasit hnnasit left a comment

Choose a reason for hiding this comment

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

I think the makefile can be updated as well since there are no more single arch runtimes remaining.

@hawflau hawflau enabled auto-merge (squash) March 27, 2024 04:57
@hawflau hawflau merged commit 8a1deb0 into aws:develop Mar 27, 2024
25 checks passed
mergify bot pushed a commit to aws/aws-cdk that referenced this pull request Oct 17, 2024
### Issue # (if applicable)

Closes #<issue number here>.

### Reason for this change


The `build-go` [image](https://gallery.ecr.aws/sam/build-go1.x) is [depracated](aws/aws-sam-build-images#139).

### Description of changes



As recommended in [this announcement](https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/), migrating the base image of `aws-lambda-go-alpha` integration test dockerfile base image to `al2023`.

Additionally, an assertion was added to test the lambda function invocation. This is a custom lambda runtime, as previouse comment noted, the [aws-lambda-go](https://github.com/aws/aws-lambda-go) runtime package is not available.


### Description of how you validated changes

- `yarn integ-runner --directory packages/@aws-cdk/aws-lambda-go-alpha`



### Checklist
- [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants