Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Maintainers
1
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

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

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

Any feedback would be highly appreciated

Keywords

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc