Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.21 KB

unix-time-api

Introduction

This version is the lightest and fastest way to get this deployed in AWS.

Components

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

Instructions

  1. Under terraform/infra/main.tf, please put in the AWS account ID you are using.
  2. 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

Requirements

Name Version
terraform >= 1.6.6
aws >= 4.57

Providers

Name Version
aws >= 4.57

Modules

Name Source Version
apigw ../modules/apigw n/a
lambda ../modules/lambda n/a