- Put necessary environment variables in
.env
file. - Install severless cli:
npm install -g serverless
- Set up AWS IAM admin user and download credentials.
- Make sure the region in
serverless.yml
is the region you want to use in AWS. - Install dependencies:
npm install
. - Run
AWS_ACCESS_KEY_ID=MY_AWS_ADMIN_ACCESS_JEY AWS_SECRET_ACCESS_KEY=MY_AWS_ADMIN_SECRET_ACCESS_KEY serverless deploy -v
There is a somewhat solid workaround to sync multiple n26 accounts with multiple budgets:
- Copy your first account's
.env
file:cp .env .env2
. - Copy
serverless.yml
:cp serverless.yml serverless2.yml
. - Rename the service in
serverless.yml
to something that tells you what account this is referring to. - Update variables in
.env
. - Deploy.