Define source for dbt-tutorial in Foundation training

The problem I’m having

In Foundations training I’m trying to define a source to the provided dbt-tutorial database (in my case in BigQuery). But however I try to insert the databse name, i get comilation error:

“mapping values are not allowed in this context”
What am I missing?

This is in a source yaml file.

I’ve tried without quotation, ', " and `, same error.

Encountered an error:
Parsing Error
Error reading jaffle_shop: staging/jaffle_shop/src_jaffle_shop.yml - Runtime Error
Syntax error near line 5

2 |
3 | sources:
4 | name: jaffle_shop
5 | database: dbt-tutorial
6 | schema: jaffle_shop
7 | tables:
8 | name: customers

Raw Error:

mapping values are not allowed in this context
in “”, line 5, column 13

NM, I just forgot the hyphen in foron of “name”… :man_facepalming:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.