Skip to content

Files

Latest commit

571636c · Mar 20, 2025

History

History

terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 27, 2023
Feb 10, 2025
Feb 10, 2025
Oct 24, 2024
Oct 25, 2022
Oct 24, 2024
Nov 22, 2024
Nov 15, 2023
Feb 10, 2025
Feb 10, 2025
Jan 9, 2025
Oct 24, 2024
Oct 9, 2024
Dec 12, 2024
May 23, 2024
Aug 24, 2022
Mar 20, 2025
Feb 10, 2025
Feb 10, 2025
Feb 10, 2025
Mar 20, 2025
Jul 29, 2021
Oct 24, 2024
Aug 24, 2022
Oct 24, 2024
Dec 31, 2024
Feb 10, 2025
Dec 31, 2024
Aug 24, 2022
Oct 24, 2024
Jan 12, 2024
Oct 14, 2022
Mar 20, 2025

Terraform

This folder contains terraform scripts for generating a lambda function and API gateway. Source code for the functions is under the lambda directory.

To compile and zip the code, run make lambda from the root of the lambda directory.

To create in AWS, make sure you are authenticated to your instance and run terraform apply.

The API gateway will accept all requests, and pass them forward to the lambda function to handling routing. CI is not setup yet, but once terraform cloud is integrated we can move the lambda config step to CI and should put it in an s3 bucket with version tag. See here for example.

Upgrading RDS Serverless Database from v1 to v2

Follow the aws guide, ensure to use the postgres 13 instructions. Note that this changes the cluster setting to provisioned in v2, which is somewhat confusing but a provisioned cluster can have serverless instances. Ensure to run this upgrade before terraform is applied, as the new rds block is for the v2 setup.