Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

carew/plugin-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 Extension

Uploads generated content by carew to amazon S3.

Installation

composer require carew/plugin-s3

Configuration

Add the following configuration to your config.yml file:

engine:
    extensions:
        - S3Extension

aws:
    bucket: <BUCKET_NAME>
    key: <KEY>
    secret: <SECRET>

It's recommended to use an IAM with the following configuration:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Stmt1407400884000",
      "Effect": "Allow",
      "Action": [
        "s3:*"
      ],
      "Resource": [
        "arn:aws:s3:::<BUCKET_NAME>",
        "arn:aws:s3:::<BUCKET_NAME>/*"
      ]
    }
  ]
}

Usage

bin/carew deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages