early-sugar-1496
11/30/2020, 11:22 AMmissing required property 'properties.principalId'
, is it because i'm using apply?
using AzureAuth = Pulumi.AzureNextGen.Authorization.Latest;
new AzureAuth.RoleAssignment(
$"NetworkContributor",
new AzureAuth.RoleAssignmentArgs
{
Scope = _cluster.NodeResourceGroup!,
RoleAssignmentName = "Network Contributor",
Properties = new AzureAuth.Inputs.RoleAssignmentPropertiesArgs
{
PrincipalId = _cluster.Identity.Apply(identity => identity!.PrincipalId),
RoleDefinitionId = "",
},
});
tall-librarian-49374
11/30/2020, 11:45 AMLatest
doesn’t have that property. Latest
refers to the lastest stable version which is very old for this resource.V20200401Preview
early-sugar-1496
11/30/2020, 12:47 PM