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

[Enhancement]: dotnet8.0 runtime support #34390

Open
SamuelCox opened this issue Nov 14, 2023 · 12 comments
Open

[Enhancement]: dotnet8.0 runtime support #34390

SamuelCox opened this issue Nov 14, 2023 · 12 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.

Comments

@SamuelCox
Copy link

Description

Native support for .net 8.0 as a lambda runtime

Affected Resource(s) and/or Data Source(s)

aws_lambda_function

Potential Terraform Configuration

resource "aws_lambda_function" "lambda" {
runtime          = "dotnet8.0"
}

References

No response

Would you like to implement a fix?

None

@SamuelCox SamuelCox added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 14, 2023
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/lambda Issues and PRs that pertain to the lambda service. label Nov 14, 2023
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 14, 2023
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Nov 14, 2023
@acwwat
Copy link
Contributor

acwwat commented Nov 14, 2023

This provider enhancement would depend on AWS Lambda generally supporting .NET 8. You can track the progress in the aws-lambda-dotnet repo at aws/aws-lambda-dotnet#1611.

Reference:

@nibblesnbits
Copy link

This suppport is working fine, it just doesn't allow you to specify dotnet8 as a runtime. (e.g., when I deploy using dotnet lamba deploy, everything works)
Can this be updated to reflect the working supported runtime?

@dibiancoj
Copy link

dibiancoj commented Feb 21, 2024

Hey All,

The .net 8 runtime for lambda's is available. I think it came out today (the shipped runtime piece). If you go through the aws console - .net 8 is available. Terraform is throwing a validation message with the code above.

I do understand it takes some time to get this change made once its available in AWS. I do appreciate all the hard work that is given to devs through terraform to make deployments of lambda's so easy in .net.

Is there an approximate timeline for this change?

@acwwat
Copy link
Contributor

acwwat commented Feb 22, 2024

It looks like .NET support was added in aws-sdk-go-v2 v1.25.1 which was in turn updated in the provider's main branch via #35924 just 11 hours ago. The PR is tagged for v5.38.0 which is the upcoming version. I pulled main to test out the provider in dev mode and I was able to provision a Lambda function with dotnet8 as the runtime successfully. So we should be good with just a bit more patience :)

@nibblesnbits
Copy link

SAM CLI was updated with dotnet8 support 5 hours ago. Fingers crossed for an update here soon. 😁🤞😁

@dibiancoj
Copy link

dibiancoj commented Feb 23, 2024

I was able to get my lambda to run using terraform with runtime= "dotnet8" a few minutes ago.
Provider set at version ">= 5.38.0" (as a test)

Just want to thank everyone for your work on getting this into terraform so quickly after it being released.

Thank you!

@baynezy
Copy link

baynezy commented Feb 27, 2024

This ticket should be closed. 5.38.0 works now.

@nibblesnbits
Copy link

This ticket should be closed. 5.38.0 works now.

Also confirmed working for me.

@danverde
Copy link

Will dotnet 8 support be coming for older versions of this repo? I'm still on 3.x.x and don't particularly want to jump two major versions at once if it can be helped

@aileensiwa
Copy link

aileensiwa commented Jul 11, 2024

Currently using 5.15.0 but it is not recognizing dotnet8 as runtime
What's the earliest version it can be used?

@acwwat
Copy link
Contributor

acwwat commented Jul 11, 2024

Currently using 5.15.0 but it is not recognizing dotnet8 as runtime What's the earliest version it can be used?

v5.38.0 as mentioned in one of the earlier comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

No branches or pull requests

8 participants