ancient-eve-13947
07/14/2021, 5:28 PMpulumi up
I get the following error:
Diagnostics:
pulumi:pulumi:Stack (Cloud-dev):
error: update failed
azure-native:azureactivedirectory:B2CTenant (b2c):
error: cannot check existence of resource '/subscriptions/25110286-d288-4e46-851b-4e2bc880672f/resourceGroups/rgdevc54575e2/providers/Microsoft.AzureActiveDirectory/b2cDirectories/deonfunction%20getStack%28%29%20%7B%0A%20%20%20%20return%20runtime.getStack%28%29%3B%0A%7Ddirectory': status code 400, <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""<http://www.w3.org/TR/html4/strict.dtd>">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>
the code I use is:
const tenant= new azure.azureactivedirectory.B2CTenant("b2c", {
resourceGroupName: resourceGroup.name,
sku: {
name: "Standard",
tier: "A0"
},
properties: {
countryCode: "DE",
displayName: `DEON-${pulumi.getStack}`
},
resourceName: `deon${pulumi.getStack}directory`
});
any idea what's going on here?getStack
calltall-librarian-49374
07/14/2021, 6:18 PM