aws-samples / dbt-glue

This repository contains the dbt-glue adapter
Apache License 2.0
102 stars 69 forks source link

Wrong role when creating database #285

Closed sanga8 closed 11 months ago

sanga8 commented 1 year ago

Describe the bug

The local role is used instead of the role_arn provided when creating a database

Steps To Reproduce

Declare a new schema in profiles.yml. Go to cloudtrail and check the role that performs the CreateDatabase operation. It will be your local role.

Expected behavior

The role_arn performs the CreateDatabase operation.

Versions

Python: 3.11 dbt-glue: 1.6.6