serverless-s3bucket-sync icon indicating copy to clipboard operation
serverless-s3bucket-sync copied to clipboard

sync wont work

Open gitgoose opened this issue 6 years ago • 0 comments

@sbstjn

sls s3sync command does not seem to work for me..Help appreciated!!

sls version 1.26.1 python 3.6 "serverless-s3-sync": "^1.4.0"

Config : custom: pythonRequirements: dockerizePip: true defaultStage: dev currentStage: ${opt:stage, self:custom.defaultStage} s3Sync:

  • bucketName: ${file(configs/config.${self:custom.currentStage}.json):syncBucketName} localDir: required-artifacts/${self:custom.currentStage} # required sse: AES256

Error: $ sls s3sync S3 Sync: Syncing directories and S3 prefixes... ~/node_modules/aws-sdk/lib/request.js:31 throw err; ^

Error: connect ECONNREFUSED 52.216.226.48:443

I am operating behind a corp proxy and have the proxy settings exported in env variables also have

HTTPS_PROXY=<> HTTP_PROXY=<> NPM_CONFIG_PROXY=<>

gitgoose avatar Apr 18 '18 11:04 gitgoose