➜ export AWS_PROFILE="spt-payment-dev"
➜ npx sls info
> liberate-lambda@1.0.0 deploy:info:order-service /Users/marcin.kasprowicz@schibsted.com/dev/schibsted/payments/liberate-lambda
> sls info
[serverless-better-credentials]
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:
https://device.sso.eu-north-1.amazonaws.com/
Then enter the code:
XVRL-XMWP
✔ serverless-better-credentials: credentials resolved from config sso profile: AWS_PROFILE (spt-payment-dev)
service: liberate-lambda
stage: dev
region: eu-west-1
stack: liberate-data-order-service
functions:
liberateData: liberate-data-order-service
Solution for https://github.com/thomasmichaelwallace/serverless-better-credentials/issues/9