mirror of
https://github.com/swift-server/swift-openapi-lambda.git
synced 2026-06-02 07:27:32 +00:00
Change links to /swift-server to /awslabs (#26)
Change links in `Package.swift`, README, and docs
This commit is contained in:
@@ -14,9 +14,9 @@ let package = Package(
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.4.0"),
|
||||
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.8.2"),
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "2.0.0-beta.3"),
|
||||
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "1.2.0"),
|
||||
// .package(url: "https://github.com/swift-server/swift-openapi-lambda.git", from: "0.3.0"),
|
||||
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
|
||||
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.2.0"),
|
||||
// .package(url: "https://github.com/awslabs/swift-openapi-lambda.git", from: "2.0.0"),
|
||||
.package(name: "swift-openapi-lambda", path: "../.."),
|
||||
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.8.0"),
|
||||
],
|
||||
|
||||
@@ -89,7 +89,7 @@ This is an example application for demonstration purposes. When deploying such i
|
||||
- Ensure that AWS Lambda function is configured for function-level concurrent execution limit ([concurrency documentation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html), [configuration guide](https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html))
|
||||
- Check encryption settings for Lambda environment variables ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars-encryption.html))
|
||||
- Ensure that AWS Lambda function is configured for a Dead Letter Queue (DLQ) ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq))
|
||||
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))
|
||||
- Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources ([documentation](https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html), [code example](https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres))
|
||||
|
||||
**Note:** The `openapi.yaml` file in this example is not suited for production. In real-world scenarios, you must:
|
||||
1. Ensure that the global security field has rules defined
|
||||
|
||||
@@ -16,7 +16,7 @@ Description: SAM Template for QuoteService
|
||||
# See: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq
|
||||
# - Ensure that AWS Lambda function is configured inside a VPC when it needs to access private resources
|
||||
# See: https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html
|
||||
# Code Example: https://github.com/swift-server/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
|
||||
# Code Example: https://github.com/awslabs/swift-aws-lambda-runtime/tree/main/Examples/ServiceLifecycle%2BPostgres
|
||||
|
||||
Globals:
|
||||
Function:
|
||||
|
||||
Reference in New Issue
Block a user