Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.25 KB

AWS RESUME API PROJECT

Deploy

This project is about creating a serverless function that fetches resume data stored in a NoSQL Database and returns it in JSON format.

Objective

The main objective is to create an API that can provide JSON-formatted resume data, and automate the deployment and infrastructure with Terraform

Stack

  • Serverless Function: AWS Lambda
  • API: API gateway
  • Infrastructure as Code: Terraform
  • CI/CD: Github Actions
  • NoSQL database: DynamoDB

Set Up

Installation

  • Python
  • Terraform
  • AWS CLI (Set up your AWS profile)
  • Install gpg and create passphrase

Upload resume

Upload your resume in `json` format to the `terraform` folder

Variables encryption

Encrypt the variables.tfvars file with Symmetric encryption using gpg.

Run this command;
$ gpg --symmetric variables.tfvars

Add Secrets

Add the following Action secrets to your repository:

  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • BUCKET_NAME
  • SECRET_PASSPHRASE