Closed Private-SO closed 6 years ago
I can able to resolve this by keeping by changing from
prod:
stripeSecretKey: "STRIPE_PROD_SECRET_KEY"
default:
stripeSecretKey: "STRIPE_TEST_SECRET_KEY"
TO
`
dev:
APP_NAME: serverless-nodejs-starter
stripeSecretKey: "xxx"
prod:
APP_NAME: serverless-nodejs
# Add the environment variables for the various stages
default:
stripeSecretKey: "xxx"
`
Since the whole documentation is in dev we need to change it.
Hi Team,
I am following second part of serverless-stack where i want to change the env.example to env.yml to save stripesecuritykey. As per the documentation since it is Test version of stripe we have only one secret key which we need to keep for both prod and default in env.yml . But when triggering
serverless invoke local --function billing --path mocks/billing-event.json
command i am getting Duplicated mapping key error.How can i resolve this ?
Thanks