Skip to content

fab-spec/nextjs-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js 💎 FAB 💎 Cloudflare Workers

Prerequisites:

  • Cloudflare account with Workers enabled:
    • Account ID
    • Email
    • API KEY
  • AWS account (key, secret) with an IAM role allowing S3 bucket creation:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "CreateFabDeployBuckets",
            "Action": [
                "s3:*"
            ],
            "Effect": "Allow",
            "Resource": [
                "arn:aws:s3:::fab-assets-*",
                "arn:aws:s3:::fab-assets-*/*"
            ]
        }
    ]
}

The above account will be able to do anything to your S3 buckets that start with the name fab-assets-. That seems like a good copy-paste first cut at an IAM role, but you're welcome to lock things down further.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published