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
6. Lambda connects to the RDS SQL Server using the credentials.
86
-
7. Lambda executes a test query:
86
+
7. Lambda executes a test query
87
87
8. API Gateway returns the JSON response to the client.
88
88
89
-
## API Routes
89
+
###API Routes
90
90
91
-
Client
92
-
│
93
-
├─ GET / ──► API Gateway ──► Lambda ──► Returns Welcome Message
94
-
│
95
-
└─ GET /health ──► API Gateway ──► Lambda ──► Connects to RDS ──► Returns DB Status
91
+
GET / --> API Gateway --> Lambda --> Returns Welcome Message
92
+
GET /health --> API Gateway --> Lambda --> RDS --> Returns DB Status
96
93
97
-
## How code changes are deployed (CI/CD workflow)
94
+
95
+
### How code changes are deployed (CI/CD workflow)
98
96
99
97
When application code is modified and pushed to GitHub, the CI/CD pipeline automatically updates the Lambda function with the latest version of the code. The process works as follows:
100
98
@@ -110,7 +108,7 @@ When application code is modified and pushed to GitHub, the CI/CD pipeline autom
110
108
111
109
# Getting Started
112
110
113
-
## Prerequisites
111
+
###Prerequisites
114
112
115
113
Before using this repository, ensure you have the following installed and configured on your machine:
116
114
@@ -119,7 +117,7 @@ Before using this repository, ensure you have the following installed and config
The AWS infrastructure was organised into reusable modules to build the infrastructure and this approach promotes the DRY (Don't Repeat Yourself) principle and makes your code scalable and maintainable. Terraform was used to provision the infrastructure, with the state backend securely hosted on AWS S3, enabling reliable tracking.
0 commit comments