Repository navigation
feat: support assumed IAM roles for AWS RDS #5804
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
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
f7ba9f7
PMM-0000 Add AWS role ARN to agent AWS options
fergalhk a4ed24e
PMM-0000 Add aws_role_arn to RDS API messages
fergalhk ddb626d
PMM-0000 Use plain error assignment in AWS options validation
fergalhk 40c6562
PMM-0000 Write aws_role_arn to rds_exporter config
fergalhk 68dff90
PMM-0000 Group rds_exporter processes by credential identity
fergalhk 1a007cb
PMM-0000 Resolve roster RDS groups by credential identity
fergalhk 4765168
PMM-0000 Wire aws_role_arn through RDS services
fergalhk cb47a0e
PMM-0000 Assume IAM role during RDS discovery
fergalhk 209a1a9
PMM-0000 Add --aws-role-arn to pmm-admin RDS commands
fergalhk 73eb2a9
PMM-0000 Cover role ARN changes in pmm-admin tests
fergalhk 7f64b8d
PMM-0000 Add API tests for RDS role ARN
fergalhk 391c330
PMM-0000 Document assuming an IAM role for RDS
fergalhk 29cb079
PMM-0000 Restore generated file formatting after make gen
fergalhk f57235c
PMM-0000 Attribute role assumption to the pmm-agent in the API
fergalhk d467135
PMM-0000 Clarify role assumption and trust policy in user docs
fergalhk 33fdc2e
PMM-0000 Surface RDS role assumption failures
fergalhk 40f9518
PMM-0000 Tighten AWS role ARN assertions and placement
fergalhk 6ed40db
PMM-0000 Assume the RDS role per region being scanned
fergalhk 1ef6413
Merge branch 'main' into PMM-0000-rds-iam-role-arn
theTibi 701a6c4
Merge branch 'main' into PMM-0000-rds-iam-role-arn
ademidoff 3967310
PMM-0000 Assume the RDS role once per partition, not per region
fergalhk bf506a0
PMM-0000 Restore aws.md, moving IAM role docs to their own PR
fergalhk 9039c9a
Merge branch 'main' into PMM-0000-rds-iam-role-arn
theTibi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
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.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Clean up test-created PMM resources. These integration tests create persistent resources without registering
t.Cleanup(), so a fatal assertion can leave state that contaminates later tests. Register cleanup immediately for every created exporter agent, PMM agent, RDS node, generic node, and service, including the rejected and malformed-ARN cases. The same requirement applies to the management RDS test.📍 Affects 2 files
api-tests/inventory/agents_rds_exporter_test.go#L534-L561(this comment)api-tests/management/rds_test.go#L274-L283🤖 Prompt for AI Agents
Source: Coding guidelines