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

How to set dotnet6 runtime in CDK? #1088

Closed
Roman-Blinkov opened this issue Feb 24, 2022 · 6 comments · Fixed by aws/aws-cdk#19144
Closed

How to set dotnet6 runtime in CDK? #1088

Roman-Blinkov opened this issue Feb 24, 2022 · 6 comments · Fixed by aws/aws-cdk#19144
Labels
guidance Question that needs advice or information. module/custom-runtime

Comments

@Roman-Blinkov
Copy link

Hi everyone!
How to set dotnet6 runtime in CDK?
Currently it is not supported by Amazon.CDK Version=1.145.0

@Roman-Blinkov Roman-Blinkov added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Feb 24, 2022
@peterwoodworth
Copy link

Hey @Roman-Blinkov,

The CDK will be able to support this once CloudFormation enables support for the dotnet6 Runtime. Until then, there won't be a way to create a lambda with the CDK with this Runtime.

@ashishdhingra ashishdhingra added module/custom-runtime and removed needs-triage This issue or PR still needs to be triaged. labels Feb 24, 2022
@ashishdhingra
Copy link
Contributor

Hey @Roman-Blinkov,

The CDK will be able to support this once CloudFormation enables support for the dotnet6 Runtime. Until then, there won't be a way to create a lambda with the CDK with this Runtime.

@Roman-Blinkov Hope this provides guidance. Support for dotnet6 target should be available in CloudFormation soon (along with any documentation updates, e.g., https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime) and would be subsequently supported by CDK. Closing this issue for now.

@github-actions
Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@Roman-Blinkov
Copy link
Author

Hey @Roman-Blinkov,

The CDK will be able to support this once CloudFormation enables support for the dotnet6 Runtime. Until then, there won't be a way to create a lambda with the CDK with this Runtime.

AWS SAM already works for me via Visual Studio, but CDK not ready

@peterwoodworth
Copy link

peterwoodworth commented Feb 25, 2022

Exactly, the CDK relies on CloudFormation, and CloudFormation does not support this runtime yet.

@normj
Copy link
Member

normj commented Feb 25, 2022

@Roman-Blinkov You are right the CloudFormation service does support the new dotnet6 runtime and in a JSON/Yaml template you can specify the runtime as dotnet6. In CDK the Runtime enum will need to be updated which I believe, but I'm not on the CDK team, happens when the CDK team picks up the next CloudFormation schema changes. I'm not sure when that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information. module/custom-runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants