replaceOnChanges
Option Not Working as expected for Azure SQL Server with azureadAuthenticationOnly
and switching back to SQL Login
#2479
Labels
kind/bug
Some behavior is incorrect or out of spec
What happened?
I am using the Azure Classic Provider to manage Azure SQL Server instances. Initially, I set
azureadAuthenticationOnly
totrue
to enable Azure AD authentication. Now, I want to switch back to SQL login authentication by settingazureadAuthenticationOnly
tofalse
.Since changing
azureadAuthenticationOnly
requires replacing the SQL Server instance, I used the following configuration in my Pulumi code:Despite using
replaceOnChanges
with the appropriate fields, I am encountering the following error from the upstream Terraform provider:Expected Behavior:
Given that the
replaceOnChanges
option is explicitly configured, I expected the SQL Server instance to be replaced when attempting to change theadministratorLoginPassword
orazureadAdministrator
fields. However, the error suggests that Pulumi is not handling the replacement as expected, and instead, it is attempting to modify the resource in place, which is not allowed.Example
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: