DBI-609: Add IAM auth support for CDC pipes with AWS Auruora'#4495
Conversation
❌ 2 Tests Failed:
View the top 2 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
🔄 Flaky Test DetectedAnalysis: An unrelated Mongo oplog-retention validation tripped because the test container—explicitly started with --oplogMinRetentionHours 24—transiently reported 23 hours against a strict at-threshold check, an environmental flake unrelated to this AWS IAM-auth PR. ✅ Automatically retrying the workflow |
f3a91c3 to
fbac1e3
Compare
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
|
Do we also need to update something for MySQL RDS/Auoura? |
Not required, MySQL cdc was always supported using AWS IAM |
| if c.rdsAuth != nil { | ||
| host := c.Config.Host | ||
| if c.Config.TlsHost != "" { | ||
| host = c.Config.TlsHost |
There was a problem hiding this comment.
Hm, maybe we could pass RDSConnectionConfig into RDSAuth constructor (when it gets initialized in newPostgresConnector)? This RDSAuth anyways seems to be scoped to connector instance.
Then we wouldn't need to pass host/port/user in each method and duplicate things like if tlsHost != "" -> host = tlsHost (we already do it inside NewPostgresConnFromConfig).
There was a problem hiding this comment.
its was touching a lot of places so moved it into separate pr: #4526
pfcoperez
left a comment
There was a problem hiding this comment.
LGTM, do we want to add an input in PeerDB UI to set this too?
Nothing in the peerdb ui which prevented us from creating the mirror, since in peerdb ui you create the peers separately. |
No description provided.