【发布时间】:2021-09-08 15:56:49
【问题描述】:
我是 dbt 的新手,正在尝试开始。我已设法配置profiles.yml 以匹配Redshift IAM 身份验证配置文件,但在运行dbt debug 之后,会出现以下错误-
>Database Error
Unable to get temporary Redshift cluster credentials: An error occurred (ClusterNotFound) when calling the GetClusterCredentials operation: Cluster cluster_zzz not found.
但是,我可以使用确切的 IAM 配置从 DataGrip 中正常连接。
我关注的 dbt 文档 - https://docs.getdbt.com/reference/warehouse-profiles/redshift-profile
profiles.yml
risk:
target: dev
outputs:
dev:
type: redshift
method: iam
cluster_id: cluster_zzz
host: cluster_zzz.d4dcyl2bbxyz.eu-west-1.redshift.amazonaws.com
user: dbuser
iam_profile: risk
iam_duration_seconds: 900
autocreate: true
port: 5439
dbname: db_name
schema: dbname_schema
threads: 1
keepalives_idle: 0
感谢任何帮助,因为它可以帮助我继续评估该工具。谢谢!
【问题讨论】:
标签: dbt