-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(FIR-35165): Optional external id for arn auth #130
Conversation
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one comment
if [[ -n "$AWS_ACCESS_ROLE_ARN" ]]; then | ||
# Can't test this on FB 1.0 | ||
cp ../dbt-firebolt/.github/workflows/jaffle_shop/sources_external_tables_iam.yml models/staging/sources_external_tables.yml | ||
dbt run-operation stage_external_sources --vars "ext_full_refresh: true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already run this operation before this if block. Can we just execute it once after the if block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's intentional - we're changing the table configuration by doing cp
into sources_external_tables.yml
. First time we're testing no auth, then auth with id and secret and finally (conditional, on fb2.0) IAM role auth. Each one of them to trigger needs dbt run-operation
Description
As per our docs ARN auth's external id is optional. Reflecting this in code.
Also adding a test for arn auth. Passing.
Checklist
changie new
and committed everything in .changes folder