Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotnet/integration-tests/aws-sdk/wrapper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_lambda_layer_version" "collector_layer" {
count = var.enable_collector_layer ? 1 : 0
layer_name = var.collector_layer_name
filename = "${path.module}/../../../../collector/build/collector-extension.zip"
compatible_runtimes = ["dotnetcore2.1", "dotnetcore3.1"]
compatible_runtimes = ["dotnet6", "dotnetcore3.1"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("${path.module}/../../../../collector/build/collector-extension.zip")
}
Expand Down
2 changes: 1 addition & 1 deletion dotnet/sample-apps/aws-sdk/deploy/wrapper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module "hello-lambda-function" {
architectures = compact([var.architecture])
function_name = var.name
handler = "AwsSdkSample::AwsSdkSample.Function::TracingFunctionHandler"
runtime = "dotnetcore3.1"
runtime = "dotnet6"

create_package = false
local_existing_package = "${path.module}/../../wrapper/SampleApps/build/function.zip"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<AWSProjectType>Lambda</AWSProjectType>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Mock Lambda Test Tool": {
"commandName": "Executable",
"commandLineArgs": "--port 5050",
"workingDirectory": ".\\bin\\$(Configuration)\\netcoreapp3.1",
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-3.1.exe"
"workingDirectory": ".\\bin\\$(Configuration)\\net6.0",
"executablePath": "%USERPROFILE%\\.dotnet\\tools\\dotnet-lambda-test-tool-6.0.exe"
}
}
}
2 changes: 1 addition & 1 deletion dotnet/sample-apps/aws-sdk/wrapper/SampleApps/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mkdir -p build/dotnet
dotnet publish \
--output "./build/dotnet" \
--configuration "Release" \
--framework "netcoreapp3.1" /p:GenerateRuntimeConfigurationFiles=true \
--framework "net6.0" /p:GenerateRuntimeConfigurationFiles=true \
--runtime linux-$DOTNET_LINUX_ARCH \
--self-contained false
cd build/dotnet
Expand Down