A simple Echo API service built with AWS API Gateway and Lambda, deployed using Terraform.
- AWS CLI configured
- Terraform installed
- A registered domain in Route 53
- A valid SSL certificate in AWS Certificate Manager (in us-east-1 region)
- Clone the repository
- Create
terraform.tfvars
file based onterraform.tfvars.example
:
Make a POST request
curl -X POST \
https://api.your-domain.com/echo \
-H "x-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Hello, World!"}'