elegant-stone-54832
09/27/2021, 7:43 PMvar sqlServer = new Server("myServer", new ServerArgs
{
AdministratorLogin = administratorLogin,
AdministratorLoginPassword = administratorLoginPassword,
ResourceGroupName = resourceGroup.Name,
Identity = new ResourceIdentityArgs { Type = IdentityType.SystemAssigned },
Administrators = new ServerExternalAdministratorArgs { PrincipalType = PrincipalType.User, Login = "MyLoginAADAccountName", Sid = "SomeGuid" } // I added this line
});
Why did pulumi removed my Azure SQL Server and recreated it?billowy-army-68599
09/27/2021, 8:34 PMelegant-stone-54832
09/27/2021, 9:13 PMbillowy-army-68599
09/27/2021, 9:33 PMignoreChanges
resource property, so that only new instantiations of a resource will have that property, and existing ones will not be modifiedprotect
on the resource optionselegant-stone-54832
09/28/2021, 7:53 PMbillowy-army-68599
09/28/2021, 8:01 PMelegant-stone-54832
09/28/2021, 8:05 PMtall-librarian-49374
09/28/2021, 8:05 PMadministrators
is a create-only property as shown in the specs here: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resour[โฆ]e-manager/Microsoft.Sql/preview/2021-02-01-preview/Servers.jsonelegant-stone-54832
09/28/2021, 8:05 PMbillowy-army-68599
09/28/2021, 9:17 PMcold-insurance-72507
12/15/2021, 8:56 AMtall-librarian-49374
12/15/2021, 8:58 AMthisWhat exactly is possible?
cold-insurance-72507
12/15/2021, 9:06 AMtall-librarian-49374
12/15/2021, 9:08 AMcold-insurance-72507
12/15/2021, 9:12 AMAdministrators = new ServerExternalAdministratorArgs
{
AzureADOnlyAuthentication = true,
Login = "Alm Devs",
PrincipalType = Pulumi.AzureNative.Sql.PrincipalType.Group,
Sid = "...",
TenantId = "...",
}