Would that be the correct way to get the principal...
# dotnet
b
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
Which has the same workaround as you found.
👍 1