Repository navigation
Destination Iceberg V2: support aws instance profile auth - #50876
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Edward Gao (edgao)
marked this pull request as draft
January 3, 2025 19:13
Edward Gao (edgao)
marked this pull request as ready for review
January 3, 2025 22:28
Edward Gao (edgao)
force-pushed
the
edgao/iceberg_better_creds_handling
branch
from
January 3, 2025 22:29
37c4d02 to
0b42c56
Compare
Contributor
|
For the eventual reviewer, I was able to test this and successfully authenticate via an IAM instance role without providing the IAM key and secret using the |
|
|
||
| // If we don't have explicit S3 creds, fall back to the default creds provider chain. | ||
| // For example, this should allow us to use AWS instance profiles. | ||
| val awsAccessKeyId = config.awsAccessKeyConfiguration.accessKeyId |
Contributor
There was a problem hiding this comment.
I think this is fine but now that I see this behavior, I think you are right, we should use that pattern for the Assume role path. I don't think we should make the change in this PR though
Francis Genet (frifriSF59)
approved these changes
Jan 9, 2025
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this seems to work:
also, updates the CDK to log the throwable during a
checkfailure. afaict platform doesn't expose the trace message, and I don't know if we actually want to dump the full stacktrace into the check status message.Francis Genet (@frifriSF59) lmk if you already have something like this as part of https://github.com/airbytehq/airbyte-internal-issues/issues/11082 though
(take from beta channel https://airbytehq-team.slack.com/archives/C087GAG7X25/p1735921337428349 )