Skip to content

This repository contains Terraform configurations to deploy an AWS Lambda function and DynamoDB table

Notifications You must be signed in to change notification settings

DevABM/Cloud-Resume-API-Challenge

Repository files navigation

Cloud Resume API Challenge

Welcome to the Cloud Resume API Challenge. A project where I had the opportunity to build and deploy a serverless API using AWS Cloud provider using Terraform as an Infrastructure as Code tool, integrated with GitHub Actions for CI/CD.

The primary goal?

Construct an API that can serve resume data in JSON format.

Challenge Objective 🎯

The task is to create a Serverless function that fetches resume data stored in a NoSQL Database and return it in JSON format. To level up the challenge, integrate GitHub Actions to automatically deploy updates to your Cloud Serverless function whenever you push to your repository.

Key Requirements

NoSQL Database: Containing sample resume data. Serverless Function: Fetch and return resume data. GitHub Actions: Automatically package and deploy your serverless on every push to the repository.

Getting Started 🚀

Here I used terraform to deploy the lambda function, dynamoDB table and API Gateway to trigger the lambda function. The resume.json file was passed to the dynamoDB table.

File Structure

Description

Make sure AWS cloud credentials are set, the variables, resume.json file are kept ready. The lambda function uses python 3.9 to retrieve the data from the DynamoDB table. The lambda function is compressed and sent as a zip file.

Architecture:

Description

visit my resume at this URL

API Gateway URL

Lambda Function URL

or

curl https://abtxuab67i.execute-api.us-east-1.amazonaws.com/prod/ResumeFunction

curl https://niualthhvoea3p4omoc2wfj27y0avliw.lambda-url.us-east-1.on.aws/

About

This repository contains Terraform configurations to deploy an AWS Lambda function and DynamoDB table

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published