npm.io
2.1.2 • Published 8 years agoCLI

react-deploy-s3

Licence
MIT
Version
2.1.2
Deps
14
Vulns
1
Weekly
0
Stars
66

React Deploy S3

Deploy create react app's in AWS S3

Demo

Instructions

Install the tool

yarn global add react-deploy-s3
Attach policy to user in AWS

IAM Management Console > Users > [The user you will use] > Inline Policies > Create User Policy > Custom Policy

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "s3:*",
                "acm:describeCertificate",
                "acm:requestCertificate",
                "acm:addTagsToCertificate",
                "cloudfront:createDistribution",
                "cloudfront:createInvalidation"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ]
}