Skip to content

Commit 52a7c8c

Browse files
committed
fix soundness
1 parent 06231ed commit 52a7c8c

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Examples/ServiceLifecycle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ sam delete --stack-name servicelifecycle-stack
188188

189189
### Database connection timeout
190190

191-
The PostgreSQL client may hang if the database is unreachable. This is a known issue with PostgresNIO. Ensure:
191+
The PostgreSQL client may freeze if the database is unreachable. This is a known issue with PostgresNIO. Ensure:
192192
1. Database is running and accessible
193193
2. Security groups are properly configured
194194
3. Network connectivity is available

Examples/ServiceLifecycle/deploy.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/bin/bash
2+
#===----------------------------------------------------------------------===#
3+
#
4+
# This source file is part of the SwiftAWSLambdaRuntime open source project
5+
#
6+
# Copyright (c) 2025 Apple Inc. and the SwiftAWSLambdaRuntime project authors
7+
# Licensed under Apache License v2.0
8+
#
9+
# See LICENSE.txt for license information
10+
# See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
#
14+
#===----------------------------------------------------------------------===#
215

316
# ServiceLifecycle Lambda Deployment Script
417
set -e

Examples/ServiceLifecycle/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Parameters:
1111
MaxLength: "16"
1212
AllowedPattern: '[a-zA-Z][a-zA-Z0-9]*'
1313
ConstraintDescription: Must begin with a letter and contain only alphanumeric characters
14-
14+
1515
DBPassword:
1616
Type: String
1717
Default: MySecretPassword123!
@@ -20,7 +20,7 @@ Parameters:
2020
MaxLength: "41"
2121
NoEcho: true
2222
ConstraintDescription: Must be at least 8 characters long
23-
23+
2424
DBName:
2525
Type: String
2626
Default: servicelifecycle

0 commit comments

Comments
 (0)