Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ body:
attributes:
label: AWS Lambda function runtime
options:
- dotnet6
- dotnet8
- dotnet8 (AOT)
- dotnet10
- dotnet10 (AOT)
validations:
required: true
- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/logger/aot.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Alternatively, you can use Docker directly for more control:

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

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

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

# Deploy using the AWS CLI
Expand Down
2 changes: 1 addition & 1 deletion libraries/tests/e2e/InfraShared/FunctionConstruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public FunctionConstruct(Construct scope, string id, FunctionConstructProps prop
var framework = "net8.0";
var distPath = $"{props.DistPath}/deploy_{props.Architecture.Name}_{props.Runtime.Name}.zip";
var command = props.IsAot
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet8"
? $"dotnet-lambda package -pl {props.SourcePath} -cmd ../../../ -o {distPath} -farch {props.Architecture.Name} -cifb public.ecr.aws/sam/build-dotnet10"
: $"dotnet-lambda package -pl {props.SourcePath} -o {distPath} -f {framework} -farch {props.Architecture.Name}";

Console.WriteLine(command);
Expand Down
Loading