Skip to content
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

[v16] Only apply dynamic AWS settings to dynamic AWS dbs #51041

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

GavinFrazar
Copy link
Contributor

@GavinFrazar GavinFrazar commented Jan 14, 2025

Changelog: Fixed a database service bug where db_service.resources.aws.assume_role_arn settings could affect non-AWS dynamic databases or incorrectly override db_service.aws.assume_role_arn settings.

Backports #50970 to branch/v16.

Dynamic database resource matchers can include AWS settings to assume an
AWS IAM role when they match a database.
The settings should only be applied to dynamic AWS databases.

The db service will no longer apply these settings to non-AWS databases.

It will also no longer apply these settings to databases discovered by
the legacy cloud watchers in db_service.aws - the cloud watchers have an
assume_role_arn setting that should not be overridden by dynamic
database matcher settings.

* fix reconcilitation race
@GavinFrazar GavinFrazar added aws Used for AWS Related Issues. database-access Database access related issues and PRs backport labels Jan 14, 2025
@github-actions github-actions bot requested review from greedy52 and r0mant January 14, 2025 20:02
@GavinFrazar GavinFrazar added this pull request to the merge queue Jan 14, 2025
Merged via the queue into branch/v16 with commit 2832412 Jan 14, 2025
41 of 42 checks passed
@GavinFrazar GavinFrazar deleted the gavinfrazar/v16-fix-db-assume-role-arn branch January 14, 2025 22:24
@camscale camscale mentioned this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws Used for AWS Related Issues. backport database-access Database access related issues and PRs size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants