-
Notifications
You must be signed in to change notification settings - Fork 0
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
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256 #2
Comments
But not possible i change, because i get the module via NPM install in my deploy process! |
Create new bucket in the diferent region is Solved! |
Hey @andremarceloteixeira - Glad to hear you got it working! We haven't tried using this code to deploy to functions outside of us-east-1. Were you trying to use resources across regions? I'm curious if there is some issue there. We are just using the aws-sdk under the hood so in theory it should work fine, but maybe we need some more specific config somewhere. Thanks, |
Hello @four43 . |
Hey,
I get the next error....
-c ./calculator-service-lambda/deploy/params.test.json
�+ ./node_modules/.bin/deploy-lambda-function -c ./calculator-service-lambda/deploy/params.test.json
Removing devDependencies....
(keeping previous node_modules at /node_modules.bak, will restore later)
npm WARN microservices@0.0.1 No repository field.
npm WARN microservices@0.0.1 No license field.
Removing devDependencies... complete!
Archiving lambda function code....
Archiving lambda function code (11.28MiB).... complete!
Restoring previous node_modules...
Restoring previous node_modules... complete!
Updating lambda function code...
Updating lambda function code... complete!
Updating function configuration...
Error: Failed to load env from s3://node-js-configurations/env/test.env: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
at Object. (/opt/atlassian/pipelines/agent/build/node_modules/@aerisweather/deploy-lambda-function/dist/util/loadS3Env.js:58:27)
at step (/opt/atlassian/pipelines/agent/build/node_modules/@aerisweather/deploy-lambda-function/dist/util/loadS3Env.js:32:23)
at Object.throw (/opt/atlassian/pipelines/agent/build/node_modules/@aerisweather/deploy-lambda-function/dist/util/loadS3Env.js:13:53)
at rejected (/opt/atlassian/pipelines/agent/build/node_modules/@aerisweather/deploy-lambda-function/dist/util/loadS3Env.js:5:65)
at process._tickDomainCallback (node.js:407:9)
The text was updated successfully, but these errors were encountered: