Socket
Book a DemoInstallSign in
Socket

aws-fed-deployment

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-fed-deployment

this package will help you to deploy your APP to AWS (S3-CF)

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Easy way to deploy web app to S3/CF

npm version

This plugin dose two thing:

  • Upload build ./dist to S3 bucket.
  • Invalidate CloudFront

Example for config JSON:

{
  "S3Bucket": "my-bucket-name-dev", // required
  "releaseVersion": null,
  "distFolder": null, // can be as folder
  "version": "version",
  "sourceFolder": "./dist", // required
  "region": "eu-west-1", // required
  "DistributionId": "E1ZKF9G******", // required
  "ItemsToInvalidate": [
    "/*",
    "/index.html",
    "/service-worker.js"
  ], // required
  "AWSProfile": "My-aws-cli-profile",
  "ApplicationName": "My-Cool-APP-NAME",
  "EnvironmentName": "Production" //
}

Important notes:

  • Content in destination folder (or in bucket if 'distFolder' not provided) will be removed!!!
  • S3 bucket and CF Distribution should to be in same region.

##Quick Start

  • Install package: npm install aws-fed-deployment --save-dev or yarn add aws-fed-deployment

  • Command run: aws-fed-deployment --dpl-config <path/to/config/json>

Any feedback would be highly appreciated

Keywords

aws

FAQs

Package last updated on 12 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.