Coder Social home page Coder Social logo

eunchurn / terraform-typescript-lambda-apigateway Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 809 KB

TypeScript AWS Lambda, AWS API Gateway via Terraform

Home Page: https://eunchurn.github.io/terraform-typescript-lambda-apigateway/

JavaScript 1.82% TypeScript 19.19% Shell 1.98% HCL 77.01%
aws-acm-certificate aws-api-gateway-v2 aws-lambda aws-route53 terraform typescript

terraform-typescript-lambda-apigateway's Introduction

tfsec

Terraform TypeScript Lambda & API Gateway Infrastructure

TypeScript Lambda handler deployment and API Gateway v2 public endpoint

infra

Prerequisite

Terraform install for Apple Silicon

Reference

    1. Remove any existing Terraform binary (/usr/bin/terraform and/or /usr/local/bin/terraform)
    1. Install m1-terraform-provider-helper
    • 2.1. brew install kreuzwerker/taps/m1-terraform-provider-helper
    1. Install Terraform
    • 3.1. brew tap hashicorp/tap
    • 3.2. brew install hashicorp/tap/terraform
    1. Install the hashicorp/template version v2.2.0
    • 4.1. m1-terraform-provider-helper activate
    • 4.2. m1-terraform-provider-helper install hashicorp/template -v v2.2.0
โžœ  ~ terraform --version
Terraform v1.3.1
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.33.0
+ provider registry.terraform.io/hashicorp/random v3.4.3
+ provider registry.terraform.io/hashicorp/template v2.2.0

Project

  • Change your Lambda function name terraform/locals.tf
    • name = "{your app name}"
  • Change your API Gateway info terraform/apiGateway.tf
    • aws_route53_zone
    • aws_route53_zone sub
    • aws_acm_certificate: domain_name, subject_alternative_names
    • aws_apigatewayv2_domain_name: domain_name

Usage

  • yarn tf:init
  • yarn tf:plan
  • yarn tf:apply

Destory

  • yarn destroy:all

Update All

  • yarn update:all

  • Check outputs

terraform-typescript-lambda-apigateway's People

Contributors

eunchurn avatar renovate[bot] avatar

Watchers

 avatar

terraform-typescript-lambda-apigateway's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency ts-node to v10.9.2
  • fix(deps): update dependency module-alias to v2.2.3 (module-alias, @types/module-alias)
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update dependency @types/node to v20
  • chore(deps): update github/codeql-action action to v3
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/tfsec.yml
  • actions/checkout v3
  • aquasecurity/tfsec-sarif-action 5d34a982aa8927c5dd8566d25ef248d526aac1f4
  • github/codeql-action v2
npm
package.json
  • aws-lambda ^1.0.7
  • module-alias ^2.2.2
  • @eunchurn/eslint-config ^0.1.11
  • @eunchurn/prettier-config ^0.0.4
  • @types/aws-lambda ^8.10.108
  • @types/jest ^29.2.0
  • @types/module-alias ^2.0.1
  • @types/node ^18.11.3
  • cross-env ^7.0.3
  • dotenv-cli ^6.0.0
  • jest ^29.2.1
  • ts-jest ^29.0.3
  • ts-node ^10.9.1
  • ts-node-dev ^2.0.0
  • typescript ^4.8.4
terraform
terraform/provider.tf

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.