Skip to content

Commit 8ac20f0

Browse files
authored
chore: update .NET runtime support to 10.0 and remove 6.0 (#1106)
1 parent f7b8f22 commit 8ac20f0

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ body:
5858
attributes:
5959
label: AWS Lambda function runtime
6060
options:
61-
- dotnet6
6261
- dotnet8
6362
- dotnet8 (AOT)
63+
- dotnet10
64+
- dotnet10 (AOT)
6465
validations:
6566
required: true
6667
- type: textarea

docs/getting-started/logger/aot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Alternatively, you can use Docker directly for more control:
209209

210210
```bash
211211
# Create a build container using Amazon's provided image
212-
docker run --rm -v $(pwd):/workspace -w /workspace public.ecr.aws/sam/build-dotnet8:latest-x86_64 \
212+
docker run --rm -v $(pwd):/workspace -w /workspace public.ecr.aws/sam/build-dotnet10:latest-x86_64 \
213213
bash -c "cd src/PowertoolsAotLoggerDemo && dotnet publish -c Release -r linux-x64 -o publish"
214214

215215
# Deploy using the AWS CLI
@@ -227,7 +227,7 @@ aws lambda create-function \
227227

228228
```powershell
229229
# Create a build container using Amazon's provided image
230-
docker run --rm -v ${PWD}:/workspace -w /workspace public.ecr.aws/sam/build-dotnet8:latest-x86_64 `
230+
docker run --rm -v ${PWD}:/workspace -w /workspace public.ecr.aws/sam/build-dotnet10:latest-x86_64 `
231231
bash -c "cd src/PowertoolsAotLoggerDemo && dotnet publish -c Release -r linux-x64 -o publish"
232232
233233
# Deploy using the AWS CLI

libraries/tests/e2e/InfraShared/FunctionConstruct.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public FunctionConstruct(Construct scope, string id, FunctionConstructProps prop
1313
var framework = "net8.0";
1414
var distPath = $"{props.DistPath}/deploy_{props.Architecture.Name}_{props.Runtime.Name}.zip";
1515
var command = props.IsAot
16-
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet8"
16+
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet10"
1717
: $"dotnet-lambda package -pl {props.SourcePath} -o {distPath} -f {framework} -farch {props.Architecture.Name}";
1818

1919
Console.WriteLine(command);

0 commit comments

Comments
 (0)