Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
ae47271 to
f24124a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6206 +/- ##
=======================================
Coverage 87.23% 87.23%
=======================================
Files 427 427
Lines 26600 26601 +1
Branches 2910 2910
=======================================
+ Hits 23204 23205 +1
Misses 2767 2767
Partials 629 629 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
750193f to
7ca53a4
Compare
erosselli
left a comment
There was a problem hiding this comment.
Don't forget the changelog entry. I know there's no time for adding tests but maybe we can ticket that separately (we have a tech debt epic) and at some point the eng team (read: likely me) might be able to squeeze it into a sprint
| assume_role_arn=CONFIG.credentials.get( # pylint: disable=no-member | ||
| "notifications", {} | ||
| ).get("aws_ses_assume_role_arn") | ||
| or self.messaging_config_secrets.aws_assume_role_arn, |
There was a problem hiding this comment.
this looks ok to me -- I'm just wondering what the order should be here , do we usually "prioritize" the env-set credentials? trying to think of what would follow the principle of least surprise for users configuring this integration
There was a problem hiding this comment.
I had a similar thought. It's... hard for me to say. For some reason I have this gut feeling that the most expected thing would be for the API to win over other methods.
But the API is less flexible in some cases bc it's a central point of truth. The reason I need to support this is for use cases where Fides is deployed to multiple regions, and this allows us to configure the environment variable granularly per region so it feels more specific in that sense.
Ultimately we chose to let the environment variable to have precedence before:
fides/src/fides/api/tasks/storage.py
Lines 139 to 141 in 7ca53a4
fides/src/fides/api/util/aws_util.py
Lines 53 to 54 in 7ca53a4
So I want to keep doing that probably?
There was a problem hiding this comment.
ah that makes sense -- let's keep it consistent with the S3 configuration
fides
|
||||||||||||||||||||||||||||
| Project |
fides
|
| Branch Review |
main
|
| Run status |
|
| Run duration | 00m 50s |
| Commit |
|
| Committer | Tom Van Dort |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
5
|
| View all changes introduced in this branch ↗︎ | |
Closes ENG-719
Description Of Changes
Allow SES to assume roles.
Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works