icy-doctor-13719
10/21/2022, 1:56 PMAzureNative.Sql.Server
database. I want to make a small configuration change to the DB server, but pulumi wants to delete and replace the entire database server, all of the databases, etc. Is there a way to avoid this? I’ve tried making the change manually and pulumi refresh
as well with same results.clever-sunset-76585
10/21/2022, 6:24 PMprotect
so that you don't accidentally execute a replacement that would delete the original db resource.icy-doctor-13719
10/21/2022, 6:24 PMIdentity = new Pulumi.AzureNative.Sql.Inputs.ResourceIdentityArgs
{
Type = Pulumi.AzureNative.Sql.IdentityType.SystemAssigned
},
protect
… wasn’t aware of this one yetclever-sunset-76585
10/21/2022, 11:38 PM--diff
flag and post the detailed diff for your db resource here?icy-doctor-13719
11/03/2022, 4:59 PM--azure-native:sql:Server: (delete-replaced)
+-azure-native:sql:Server: (replace)
~ administrators: {
~ login: "sp-pulumi-production" => "sp-pulumi-nonproduction"
}
++azure-native:sql:Server: (create-replacement)
~ administrators: {
~ login: "sp-pulumi-production" => "sp-pulumi-nonproduction"
}
clever-sunset-76585
11/06/2022, 4:14 AMadministrators
property and the identity
seem to have the same description. Even though you set the identity
property it seems that the administrators
property is changing? That seems odd. Any chance you can post the entire code related to the SQL Server resource?icy-doctor-13719
11/07/2022, 1:52 AMclever-sunset-76585
11/07/2022, 4:24 AM