-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADAP-1064] [Bug] AWS IAM Assumed Role Authentication Issue in dbt-redshift with Serverless Redshift #682
Comments
Are there any news so far? |
Moving the ticket up the queue! |
@nbphuoc @sgahr sorry that you're not getting what you want from the new IAM auth options. To clarify, does assumed role auth work today for non-serverless clusters? @jiezhen-chen pointed us to aws/amazon-redshift-python-driver#192 in which someone was able to get assumed role working by calling I'm also going to add the "help wanted" label, because while we'd love to support this feature, we don't currently have the bandwidth to address this. |
when you run The error you preset here like 'permission denied for relation raw_model'. It just saying your user in redshift no permission to that table. |
This was added via #781 |
Is this a new bug in dbt-redshift?
Current Behavior
When attempting to use an AWS IAM Assumed Role for authentication in dbt-redshift, the process fails. This issue does not occur when using AWS IAM User credentials. The expected behavior is for dbt-redshift to successfully authenticate using both IAM User and Assumed Role credentials. The failure with Assumed Role presents an obstacle in environments where Assumed Roles are a mandatory security practice.
Expected Behavior
Expected dbt-redshift to authenticate seamlessly with AWS Redshift using IAM Assumed Role credentials, similar to its functioning with IAM User credentials
Steps To Reproduce
Steps To Reproduce
AWS Configuration:
~/.aws/config
):dbt Profile Setup:
~/.dbt/profiles.yml
:Executing dbt Command:
dbt build
, targeting a model that connects to a serverless Redshift.It is important to note that this issue specifically occurs with serverless Redshift.
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: