You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: terraform-lambda-aurora-serverless/README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AWS Lambda function to Amazon Aurora Serverless
2
2
3
-
The pattern creates a Lambda function and a Amazon Aurora Serverless cluster, a Log group and the IAM resources required to run the application.
3
+
The pattern creates an AWS Lambda function and an Amazon Aurora Serverless cluster, a Log group and the IAM resources required to run the application. The database credentials are stored in AWS Secrets Manager secret.
4
4
5
5
The Lambda function is written in Python that uses pymysql client to establish connectivity with the serverless database.
6
6
@@ -22,6 +22,13 @@ terraform init
22
22
terrform deploy
23
23
```
24
24
25
+
Naming constraints with Amazon Aurora for Master password:
26
+
- The password for the database master user can include any printable ASCII character except /, ', ", @, or a space.
27
+
- The password can contain the following number of printable ASCII characters depending on the DB engine: Aurora MySQL: 8–41 and Aurora PostgreSQL: 8–99.
28
+
For more information, please refer to [this](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html#RDS_Limits.Constraints)
29
+
30
+
31
+
25
32
## Testing
26
33
27
34
After deployment, invoke Lambda function with multiple inputs, and go to the Step Function Console and view the different invocations to note the different behavior with the different inputs.
Copy file name to clipboardExpand all lines: terraform-lambda-aurora-serverless/example-pattern.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
{
2
2
"title": "AWS Lambda function to Amazon Aurora Serverless",
3
-
"description": "The pattern creates a Lambda function and an Amazon Aurora Cluster with Serverless instance.",
3
+
"description": "The pattern creates a Lambda function and an Amazon Aurora Cluster with Serverless instance. The Database credentials are stored and accessed from AWS Secrets Manager.",
4
4
"language": "Python",
5
-
"level": "200",
5
+
"level": "300",
6
6
"framework": "Terraform",
7
7
"introBox": {
8
8
"headline": "How it works",
9
9
"text": [
10
10
"The pattern creates a Lambda function and an Amazon Aurora Cluster with Serverless instance.",
11
+
"The Database credentials are stored and accessed from AWS Secrets Manager.",
11
12
"It also guides how to invoke the function to access the database."
0 commit comments