Feature Request: Account for PendingModifiedValues
for RDS instances
#5067
Labels
awaiting-feedback
Blocked on input from the author
customer/feedback
Feedback from customers
kind/enhancement
Improvements or new features
needs-repro
Needs repro steps before it can be triaged or fixed
service/rds
With have RDS instances that have maintenance windows once a week.
We don't use Pulumi deployments, but rather our own deployment, that periodically checks for drifts across a wide range of infrastructure (not just RDS instances) using pulumi previews.
This combination gets us into the following predicament: When we make a change in config to an RDS instance outside a maintenance window, AWS accepts that change request and stores it in
PendingModifiedValues
. Here an example for updating theEngineVersion
(output ofaws rds describe-db-instances --db-instance-identifier <instance-id>
):The aws console displays this as the following:
The
pulumi up
to set theEngineVersion
to16.3
goes through successfully without error. But then the nextpulumi preview
before the maintenance window opening sees a diff again, because it only compares thatEngineVersion
field and doesn't look atPendingModifiedValues
to see that this desired change was already applied, but just didn't go through yet due to the maintenance window that's not currently active.I think ideally the diff comparison in the
pulumi preview
could also look at thePendingModifiedValues
and don't report a diff if the desired change is already captured there.This often blocks our hands-off automation as we get reports that a desired change couldn't be achieved.
My question is specific to RDS instances but I could imagine also other resources have maintenance windows with the same behavior.
The text was updated successfully, but these errors were encountered: