javydekoning / bunq-ynab-aws-lambda

AWS Lambda function (including CDK-APP) to sync transactions from Bunq to YNAB.
Apache License 2.0
6 stars 1 forks source link

bunq2ynab for AWS Lambda

Forked from wesselt/bunq2ynab. Modified to run on AWS Lambda.

Deploying

2020-05-04 14:29:21,448 | INFO | bunq | UserPerson "Your Name" (123456) | (bunq.py:166)
2020-05-04 14:29:21,834 | INFO | bunq |   Betaalrekening                  1,234.56 EUR  (78901234) | (bunq.py:156)
<redacted>
2020-05-04 14:29:22,353 | INFO | ynab | Accounts for budget "ThisIsYourBudgetName": | (ynab.py:100)
2020-05-04 14:29:22,824 | INFO | ynab |     1,234.56  BetaalBunq               (checking) | (ynab.py:94)
2020-05-04 14:29:22,833 | INFO | ynab |            0  SavingsBunq               (savings) | (ynab.py:94)

The configuration for this tool is stored in SSM Parameter Store. You will need to extract the following items from the output above for all accounts you would like to Sync!

Storing the configuration

You now have all the information you need to complete the configuration file.

    {
      "bunq_acc": "78901234",
      "bunq_user": "123456",
      "ynab_acc": "BetaalBunq,
      "ynab_budget": "ThisIsYourBudgetName"
    },
    {
      "bunq_acc": "Example",
      "bunq_user": "Example",
      "ynab_acc": "Example,
      "ynab_budget": "Example"
    }

Final test

Projected cost

All of the above should fall into the free-tier usage.