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

Add provided.al2023 lambda runtime #2994

Closed
edoardocostantinidev opened this issue Nov 15, 2023 · 2 comments · Fixed by #3261
Closed

Add provided.al2023 lambda runtime #2994

edoardocostantinidev opened this issue Nov 15, 2023 · 2 comments · Fixed by #3261
Assignees
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/enhancement Improvements or new features resolution/fixed This issue was fixed

Comments

@edoardocostantinidev
Copy link

edoardocostantinidev commented Nov 15, 2023

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

AWS introduced a new lambda runtime provided.al2023. If you try and set a lambda with that runtime you receive the following error:

expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x python3.10 java17], got provided.al2023.

Affected area/feature

missing provider option for lambda runtime.

@edoardocostantinidev edoardocostantinidev added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Nov 15, 2023
@mikhailshilkov
Copy link
Member

The upstream change has shipped two hours ago, we'll probably get it next week hashicorp/terraform-provider-aws#34360

@mikhailshilkov mikhailshilkov added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). and removed needs-triage Needs attention from the triage team labels Nov 15, 2023
@jbvv1
Copy link

jbvv1 commented Jan 2, 2024

The required upstream change was released as part of v5.26.0 of the AWS Terraform provider in mid November 2023: hashicorp/terraform-provider-aws#34360 (comment). When will the Pulumi AWS provider be updated to support the provided.al2023 runtime?

lukehoban added a commit that referenced this issue Jan 17, 2024
Catches our enum up to date with the latest from
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html.

Also updates the deprecated runtimes to latest, including some which
have been very recently deprecated (but in a few cases, are not yet
erroring on create/update - though those are coming in the next few
weeks).

Also fixes CallbackFunction in TS to ensure it can accept a normal
`string` as well, to ensure that users are not prevented from passing
not-yet-supported enum values in the future. This aligns with the
underlying `Function` type which accepts both.

Fixes #3260.
Fixes #2994.
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants