luanelioliveira / project-update-lambdaedge-version

This project is to update versions of the Lambda Edge plugged on AWS CloudFront

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Lambda Edge Versions

This project is to update the Lambda@Edge versions in distributions of the AWS CloudFront. This application allows two ways to update distributions, which are:

  • You can update version by CDN id;
  • or update version of the all CDNs

How to Run

Set your AWS Credentials in the ~/.aws/credentials file

Update the variables in the index.js file:

  • REGION: Lambda@Edge Region;
  • ACCOUNT_ID = Lambda@Edge Account Number;
  • LAMBDA_EDGE_NAME = "Lambda@Edge Name"
  • NEW_VERSION = "Lambda@Edge New Version Number";

Install the dependencies

  npm install

Build project

  npm run build

Running

   npm run start

About

This project is to update versions of the Lambda Edge plugged on AWS CloudFront


Languages

Language:TypeScript 100.0%