Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync wont work #6

Open
gitgoose opened this issue Apr 18, 2018 · 0 comments
Open

sync wont work #6

gitgoose opened this issue Apr 18, 2018 · 0 comments

Comments

@gitgoose
Copy link

@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=<>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant