question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't upload to s3, no console output

See original GitHub issue

This 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
emsearcycommented, Mar 15, 2019

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. 😄

0reactions
fernando-mccommented, Mar 15, 2019

@emsearcy It happens surprisingly often 😆 - You’re not alone. Thanks for adding that for future readers just in case.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found