This project is about creating a serverless function that fetches resume data stored in a NoSQL Database and returns it in JSON format.
The main objective is to create an API that can provide JSON-formatted resume data, and automate the deployment and infrastructure with Terraform
- Serverless Function: AWS Lambda
- API: API gateway
- Infrastructure as Code: Terraform
- CI/CD: Github Actions
- NoSQL database: DynamoDB
- Python
- Terraform
- AWS CLI (Set up your AWS profile)
- Install gpg and create passphrase
Upload your resume in `json` format to the `terraform` folder
Encrypt the variables.tfvars file with Symmetric encryption using gpg.
Run this command;$ gpg --symmetric variables.tfvars
Add the following Action secrets to your repository:
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- BUCKET_NAME
- SECRET_PASSPHRASE