https://prefect.io logo
Title
s

Stephen Herron

01/20/2023, 11:49 AM
How do I set my DbtCliProfile to use a SnowflakeTargetConfig? The UI only let’s you select TargetConfig and not a snowflake one
👀 1
I’ve tried to kind of hack it:
cli_profile = DbtCliProfile.load("default")
    target_config = SnowflakeTargetConfigs.load("default")

    cli_profile.target_configs=target_config
seems to work just need to be aware of settings in two places, it will complain for example schema in both
but you can’t save the DbtCliProfile block in the GUI without a target_config, so you have to create a redundant one ;S
a

Andrew Huang

01/20/2023, 5:39 PM
Thanks for reporting! I think this will be fixed soon in https://github.com/PrefectHQ/prefect-dbt/pull/115
👍 1