Repository navigation
feat: Add boto3 session based auth for dynamodb online store for cross account access - #4606
Conversation
I think DCO does not work on github commits, could you help. Thanks |
Signed-off-by: asingh9530 <abhinav199530singh@gmail.com>
Co-authored-by: Francisco Arceo <farceo@redhat.com> Signed-off-by: asingh9530 <abhinav199530singh@gmail.com>
Co-authored-by: Francisco Arceo <farceo@redhat.com> Signed-off-by: asingh9530 <abhinav199530singh@gmail.com>
5900ca2 to
8c7f0d6
Compare
commented
Oct 5, 2024
No Need did a force signoff |
Signed-off-by: asingh9530 <abhinav199530singh@gmail.com>
Signed-off-by: asingh9530 <abhinav199530singh@gmail.com>
commented
Oct 6, 2024
|
@franciscojavierarceo added a dummy commit as one of the workflow was stuck. |
commented
Oct 6, 2024
|
There's also a button in the UI fwiw |
| tags: Union[Dict[str, str], None] = None | ||
| """AWS resource tags added to each table""" | ||
|
|
||
| session_based_auth: bool = False |
There was a problem hiding this comment.
This is too much bother, I think. We should simply switch to session based, there's no real upside in keeping old behavior, unless I'm missing something.
There was a problem hiding this comment.
Breaking changes create friction to using later versions. I'm fine for getting rid of it in a subsequent release if we give users notice through a warning.
There was a problem hiding this comment.
What makes this a breaking change? We're changing an internal detail of how a client is instantiated, it's not a change in an API. can't really imagine how anyone would be depending on the previous behavior of us using a default session.
There was a problem hiding this comment.
Oh I see, this isn't configured through the feature_store.yaml, my bad.
There was a problem hiding this comment.
@tokoko I would still argue we should use this setup in upcoming release and completely switch to session in next just to make sure we don't break anything internally or for feast existing customers although I can't really think if this would break anything but just as a caution.
There was a problem hiding this comment.
@asingh9530 sorry. I'm fine with proceeding as is, although I think we're being over-cautious. Ironically when we make changes later on to remove this config, the removal will technically be a breaking change 😆 anyway, that's fine as well, let's just not forget to remove it though.
There was a problem hiding this comment.
Lol let me add a warning though if we use default client.
What this PR does / why we need it:
Hi Team,
This PR enables feast to create aws client from either current session or using default boto3.client. This will enable feast to use dynamodb in a cross account setup i.e if feast is running in account A and want to use dynamodb in account B, right now it dosen't offers that and creates a default client which is limits the usage of feast.
Which issue(s) this PR fixes:
#4605
Misc