Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SST Lambda and terraform

this repository contains lambda, api gateway and DynamoDb terraform of the Self Service Totem API.

This project is part of the FIAP SOAT course. This repository support our application created in Typescript. Go to Self Service Totem for more details.

How it works

This terraform files provide lambda, api gateway and DynamoDb solutions to ensure the auth infrastructure that the application SST needs. We provided an updated environmet when a new pull request is merged. updating this at the cloud.

How to use

Download the repo:

  git clone https://github.com/evilfeeh/sst-lambda

Fill the envs:

check out the env.auto.tfvars.sample and fill it with your environments variables

Open terraform folder:

  cd terraform

Run init:

  terraform init

Validate:

Validate the file to ensure is everything correct with the resources

  terraform validate 

Plan the Changes

Generate and review an execution plan to preview the changes Terraform will apply:

terraform plan

Apply the Changes

Once the plan is reviewed, apply the changes to your cloud infrastructure:

terraform apply

Submit Changes via Pull Request

To update the infrastructure:

  1. Make your changes.
  2. Create a pull request.
  3. Once the pull request is merged, the pipeline will automatically apply the changes and update the infrastructure.

create a new pull request with your applications.

When validated and merge, the pipeline will run and update the changes automatically.

Contact

Please, feel free to open issues or contact the developers of the team. We'll be happy to help.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages