azure-native.dbforpostgresql.Configuration should restart the server automatically #3618
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/enhancement
Improvements or new features
Hello!
Issue details
I recently ran into an issue where, after creating a Configuration, a restart of the server was necessary before a subsequent provisioning step could complete. Is it by design that such a restart is not automatically performed by Pulumi for the Azure Native provider?
The docs for the Postgres Flexible Server Configuration resource in the classic Azure provider contain a note that the server is automatically restarted by default whenever a Configuration resource is created.
No such note exists for the corresponding Configuration resource in the Azure Native provider. And my experience seems to indicate that in fact no restart is automatically performed.
To me it seems like this would be a useful feature. Or perhaps some kind of resource/API to initiate a controlled restart from within Pulumi? There seems to exist an output on the Configuration called
IsConfigPendingRestart
so presumably one could react to that and initiate a restart explicitly in the Pulumi program. But there does not seem to exist any Pulumi API for executing a server restart. The only thing I can think of atm is using aAzurePowerShellScript
resource to trigger the restart via the Azure API or CLI, but that is a lot of effort for something that is needed by almost everyone that uses a Postgres Configuration resource.Affected area/feature
azure-native.dbforpostgresql.Configuration
The text was updated successfully, but these errors were encountered: