Doesn't upload to s3, no console output
See original GitHub issueThis is a:
- Bug report
For bug reports:
Expected behavior
serverless finch tries to upload files from build folder to s3 bucket and serverless outputs something to the console.
Actual behavior
nothing gets uploaded, there is no output to console.
Steps to reproduce
- Operating system: Ubuntu 18.04
- serverless-finch version: 1.3.1
serverless.yml
that produces bug:
service: serverless-graphql-client
frameworkVersion: ">=1.21.0 <2.0.0"
provider:
name: aws
runtime: nodejs6.10
stage: dev
region: us-east-2
iamRoleStatements:
- Effect: "Allow"
Action:
- "s3:*"
Resource:
- "arn:aws:s3:::my-bucket-name/*"
plugins:
- serverless-finch
custom:
client:
bucketName: my-bucket-name
distributionFolder: build
- Command that produces bug: sls client deploy
- Other details: I tried to create the bucket myself before running the command, but the result is still the same. I’m running node v9.11.2
For feature requests or changes:
Current behavior (if any)
Proposed behavior
Proposed implementation deatils (optional)
Justification
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Resolve errors uploading data to or downloading data ... - AWS
I want to upload data to Amazon Aurora from Amazon Simple Storage ... S3 API returned error: Missing Credentials: Cannot instantiate S3 ...
Read more >AWS s3 upload from lambda not working and no error
First, I use s3.upload instead of s3. ... I.e. console.log I had placed inside them did not write the logs into lambda's console...
Read more >Resolve issues with uploading large files in Amazon S3
I'm trying to upload a large file (1 GB or larger) to Amazon Simple Storage Service (Amazon S3) using the console. However, the...
Read more >How To Upload File to S3 with the AWS CLI
When working with Amazon S3 (Simple Storage Service), you're probably using the S3 web console to download, copy, or upload file to S3...
Read more >How to upload an object into Amazon S3 in Lambda - Edureka
console.log('Loading function'); var AWS = require('aws-sdk'); ... Runs successfully without error, but the callback in s3.upload doesn't ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
btw, I came across this issue searching for the “same” problem, but realized it was because I had assumed the plugin triggered on a regular “serverless deploy” … once I read the docs more closely and used “serverless client deploy” it worked as intended. 😄
@emsearcy It happens surprisingly often 😆 - You’re not alone. Thanks for adding that for future readers just in case.