https://pulumi.com logo
#dotnet
Title
# dotnet
b

bored-activity-40468

10/17/2020, 3:37 PM
Would that be the correct way to get the principalId from a azure nextgen scaleset? I'm trying to create a role assignment for a scaleset that has SystemAssigned set for Identity.
If I use that apply, I get
If I stuff a random guid in there, the issue goes away. Obviously a random guid won't work but for debugging purposes. It's like it doesn't see that virtualmachinescaleset.identity is a Output.
If virtualmachinescaleset.identity is an Output<VirtualMachineScaleSetIdentityResponse> do I have to do something special to get at principalId? I'm thinking that I shouldn't.
Using a dummy value worked 😮
g

gentle-diamond-70147

10/18/2020, 6:03 PM
Which has the same workaround as you found.
👍 1