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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ Makefile
.devcontainer
.amazonq
.kiro
nodejs
nodejs
.ash
4 changes: 2 additions & 2 deletions Examples/APIGateway+LambdaAuthorizer/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand All @@ -60,7 +60,7 @@ Resources:
Timeout: 29 # max 29 seconds for Lambda authorizers
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
2 changes: 1 addition & 1 deletion Examples/APIGateway/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
2 changes: 1 addition & 1 deletion Examples/CDK/infra/lib/lambda-api-project-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class LambdaApiStack extends cdk.Stack {
architecture: lambda.Architecture.ARM_64,
handler: 'bootstrap',
code: lambda.Code.fromAsset('../.build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/APIGatewayLambda/APIGatewayLambda.zip'),
memorySize: 512,
memorySize: 128,
timeout: cdk.Duration.seconds(30),
environment: {
LOG_LEVEL: 'debug',
Expand Down
2 changes: 1 addition & 1 deletion Examples/HummingbirdLambda/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
2 changes: 1 addition & 1 deletion Examples/S3_AWSSDK/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
2 changes: 1 addition & 1 deletion Examples/S3_Soto/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
2 changes: 1 addition & 1 deletion Examples/ServiceLifecycle+Postgres/INFRASTRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The infrastructure consists of a secure VPC setup with private subnets only, con
### Service Lifecycle Lambda
- **Runtime**: Custom runtime (provided.al2)
- **Architecture**: ARM64
- **Memory**: 512MB
- **Memory**: 128MB
- **Timeout**: 60 seconds
- **Network**: Deployed in private subnets with access to database within VPC
- **Environment Variables**:
Expand Down
2 changes: 1 addition & 1 deletion Examples/ServiceLifecycle+Postgres/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
VpcConfig:
Expand Down
2 changes: 1 addition & 1 deletion Examples/Testing/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
Environment:
Expand Down
4 changes: 2 additions & 2 deletions Sources/AWSLambdaRuntime/Docs.docc/Deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Resources:
Timeout: 60
Handler: swift.bootstrap # ignored by the Swift runtime
Runtime: provided.al2
MemorySize: 512
MemorySize: 128
Architectures:
- arm64
# The events that will trigger this function
Expand Down Expand Up @@ -489,7 +489,7 @@ export class LambdaApiStack extends cdk.Stack {
architecture: lambda.Architecture.ARM_64,
handler: 'bootstrap',
code: lambda.Code.fromAsset('../.build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/APIGatewayLambda/APIGatewayLambda.zip'),
memorySize: 512,
memorySize: 128,
timeout: cdk.Duration.seconds(30),
environment: {
LOG_LEVEL: 'debug',
Expand Down