https://pulumi.com logo
Title
b

brainy-ocean-92780

04/05/2021, 4:47 PM
Hello Ya'll, I'm trying to perform a pulumi up against a stack which already has an existing SqlServer (created via pulumi) and I'm getting the following error even before it I get the question asking if I'd like to move forward:
error: azure:sql/sqlServer:SqlServer resource '<server name>' has a problem: "identity.0.principal_id": this field cannot be set
I don't see an attempt to set that anywhere. I was curious if this might be a known issue?
g

gentle-diamond-70147

04/05/2021, 5:46 PM
Are you you attempting to import the SqlServer? If not, can you share the code for your SqlServer resource?
b

brainy-ocean-92780

04/05/2021, 7:01 PM
@gentle-diamond-70147 I actually figured it out with a coworker. We are using an azure cli script to add the identity (-assignIdentity) after the server is stood up. I think then there is a failure during the pulumi up (even with refresh).