Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
4 contributors

Users who have contributed to this file

@piezzo @nikgraf @christophgysin @bowen31337
25 lines (20 sloc) 439 Bytes
service: fetch-file-and-store-in-s3
frameworkVersion: ">=1.1.0"
custom:
bucket: <your-bucket-name>
provider:
name: aws
runtime: nodejs8.10
stage: dev
region: us-west-1
iamRoleStatements:
- Effect: Allow
Action:
- s3:PutObject
- s3:PutObjectAcl
Resource: "arn:aws:s3:::${self:custom.bucket}/*"
functions:
save:
handler: handler.save
environment:
BUCKET: ${self:custom.bucket}
You can’t perform that action at this time.