-
Notifications
You must be signed in to change notification settings - Fork 9
Credentials missing when using SnowflakeTargetConfigs in CLIProfile #125
Comments
Thanks for the details! I believe this has been fixed in #115. |
So we need to wait for a new release then. |
Hi @ahuang11 , As a workaround we could only specify it in Snowflake Connector but if we use the same Connector for different dbt Configs (or may for other things) it would be a better solution to overwrite the schema from Snowflake Connector with the schema from the target config. Furthermore it seems that the config: {}
iris:
outputs:
dev:
account: account.region.azure
authenticator: snowflake
database: dbname
private_key_path: !!python/object/apply:pathlib.PosixPath
- /
- workspace
- tmp
- rsa_key.p8
role: development
schema: abc
threads: 8
type: snowflake
user: username
warehouse: wh
target: dev which ends in an runtime error
|
Thank you for reporting this. I'll try to get this fixed soon. |
Expectation / Proposal
I define four block entities (Snowflake credentials, Snowflake connector, Snowflake target config and dbt CLI profile) and link them together. In this case credentials can be changed via block configuration.
I expect that the CLI profile holds the credential/connection information as well but it didn't. This is maybe related to the TargetConfigs which can't be linked to another block entity.
Traceback / Example
Output:
{'config': {}, 'jaffle_shop': {'target': 'dev', 'outputs': {'dev': {'type': 'snowflake', 'schema': 'TEST', 'threads': 4}}}}
The text was updated successfully, but these errors were encountered: