/create-react-app-deploy-s3

Deploy create react app's in AWS S3

Primary LanguageJavaScriptMIT LicenseMIT

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