aws-rds
datasource to check ValidUpgradeTarget
#31644
z0rc
started this conversation in
Suggest an Idea
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
Currently
aws-rds
datasource just fetches list of engine versions which pass specified filter. This approach would be sufficient for patch version upgrades, but fails short on major and minor version updates. Let me explain.We have RDS with
postgres
engine, version14.10
(btwpostgres
engine in RDS doesn't have patch component). Now let's verify with AWS what versions we can upgrade to, seeValidUpgradeTarget
:If we consider major version upgrades, we can upgrade up to
16.1
. At the same time this isn't the latest version. Once instance is on16.1
it can be upgraded to16.4
:We want datasource to offer major upgrades, so filter is just
[{"Name":"engine","Values":["postgres"]}]
, withoutengine-version
, it returns all available postgres versions in RDS. At this case Renovate would offer direct upgrade from14.10
to16.4
, that isn't technically possible.Beta Was this translation helpful? Give feedback.
All reactions