nicolaslopezj / react-deploy-s3

Deploy create react app's in AWS S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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": "*"
        }
    ]
}

About

Deploy create react app's in AWS S3

License:MIT License


Languages

Language:JavaScript 100.0%