This version is the lightest and fastest way to get this deployed in AWS.
Terraform is structured in 2 main folders
- Infrastructure
- Modules
This insures that the code is modular and is easily readable. Written according to best practices
- Under terraform/infra/main.tf, please put in the AWS account ID you are using.
- Run terraform plan and apply under terraform/infra
To find the API endpoint, it should be under API gateway under the prod stage. Ex: https://example.execute-api.us-east-1.amazonaws.com/prod/epoch-time
Name | Version |
---|---|
terraform | >= 1.6.6 |
aws | >= 4.57 |
Name | Version |
---|---|
aws | >= 4.57 |
Name | Source | Version |
---|---|---|
apigw | ../modules/apigw | n/a |
lambda | ../modules/lambda | n/a |