billions-greece-30724
10/27/2020, 11:12 PMazure-nextgen:managedidentity/v20181130:UserAssignedIdentity (nvp-ppi-avlx):
error: azure#getURLFromLocationHeader: invalid polling URL '/subscriptions/****/resourcegroups/nvp-ppi-windows-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/nvp-testresourcename': StatusCode=0
This is the code I am using:
var userAssignedIdentity = new Pulumi.AzureNextGen.ManagedIdentity.V20181130.UserAssignedIdentity(miName, new Pulumi.AzureNextGen.ManagedIdentity.V20181130.UserAssignedIdentityArgs
{
Location = "West US",
ResourceGroupName = "nvp-ppi-windows-rg",
ResourceName="nvp-testresourcename"
});
I am able to use az identity create --resource-group nvp-ppi-windows-rg --name nvpppitest
. My resource group is in 'West US'... Any ideas?
Interestingly, the identity does get created - I just get a message from Pulumi that it failed.
Also, I will add that testing with the non-AzureNextGen provider (Pulumi.Azure.Authorization.UserAssignedIdentity) adds the identity correctly.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by