Comments (4)
Hi @feelxtesting thank you for reporting. Please note that the serverless config credentials
command is now deprecated in v4. You can now just use the root serverless
command to get completely set up.
I do understand that the error message should make that clear. I am not sure why you're getting that error message. When I run the full command you provided I get the expected error message:
sf4 config credentials --provider aws --profile staging-admin --key $AWS_ACCESS_KEY_ID --secret $AWS_SECRET_ACCESS_KEY
✖ The "config credentials" command was deprecated in v4. To configure your AWS credentials, run the "serverless" command instead.
Could you tell me a bit more about your environment? Windows or MacOS? Are running within a Serverless service directory?
from serverless.
Hi @feelxtesting, if you're running in Code Pipeline, that error you ran into might be concealing the actual error from Serverless Framework which informs users that this command is not available in V4. If you are running in Code Pipeline, you shouldn't need to run config credentials if your AWS Access Keys are set as environment variables. The Framework should pick these up automatically. In short, you should be able to immediately deploy.
from serverless.
Hi @feelxtesting, if you're running in Code Pipeline, that error you ran into might be concealing the actual error from Serverless Framework which informs users that this command is not available in V4. If you are running in Code Pipeline, you shouldn't need to run config credentials if your AWS Access Keys are set as environment variables. The Framework should pick these up automatically. In short, you should be able to immediately deploy.
i'll test this and get back to you with results
from serverless.
Hi @feelxtesting, if you're running in Code Pipeline, that error you ran into might be concealing the actual error from Serverless Framework which informs users that this command is not available in V4. If you are running in Code Pipeline, you shouldn't need to run config credentials if your AWS Access Keys are set as environment variables. The Framework should pick these up automatically. In short, you should be able to immediately deploy.
i tested but didn't work.
from serverless.
Related Issues (20)
- Unable to Disable esbuild in Serverless 4.1.11 HOT 6
- Unable to bundle @aws-sdk in v4 HOT 4
- Recoverable error occurred (Socket connection timeout)
- [V4] Dev mode: handler not found in service directory HOT 1
- Unable to Enable "Helpers for Encryption in Transit" for Environment Variables in Python Lambda HOT 1
- Serverless4 with Typescript Support No Longer Automatically Verifies Typescript Compilation HOT 2
- Cross account security group rule id erroring as invalid HOT 1
- Outage: Version 4.1.13 Breaking Changes (Deployments + Building) HOT 39
- V4 - Version Pinning HOT 1
- Keys cannot contain Serverless Variables - How to deal?
- After upgrading to v.4 max-concurrency flag fails the deployment
- Nested variable reference throws error when inserted into a reference to SSM parameter store HOT 3
- Unable to remove License Key HOT 2
- Lack of visibility on how Credits are being used
- Installing plugins HOT 4
- Installing plugins ignores yarn and uses npm instead HOT 1
- Documentation links not working correctly HOT 2
- s3 event with existing: true combined with bucket resource definition causes serverless remove to fail due to race condition
- CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple")
- [V4] Typescript with ESM support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless.