Closed DJLemkes closed 3 years ago
@Tomme, what are your thoughts on this?
@Tomme, what are your thoughts on this?
Thanks a lot for the contribution and I very much welcome this change! I will give it a test and aim to get it merged within several days 👍
Let me start by saying thanks for the amazing work on the adapter. Really enjoying it!
This PR allows pointing a DBT profile to a specific AWS profile without managing the AWS_PROFILE environment variable separately.
Example: consider a situation where I want to run the same DBT project against different AWS accounts (e.g.
dev
,prd
). For both accounts I have credentials in my~/.aws/credentials
file in different profiles (e.g.[dev]
and[prd]
). Currently, I have to runexport AWS_PROFILE=<profile_name>
before starting mydbt run
to make this work, which is very error-prone.