stale-knife-36790
03/31/2020, 8:22 AMDiagnostics:
pulumi:pulumi:Stack (azure-dev):
The Pulumi runtime detected that 166 promises were still active
at the time that the process exited. There are a few ways that this can occur:
* Not using `await` or `.then` on a Promise returned from a Pulumi API
* Introducing a cyclic dependency between two Pulumi Resources
* A bug in the Pulumi Runtime
Leaving promises active is probably not what you want. If you are unsure about
why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
environment variable. The Pulumi runtime will then print out additional
debug information about the leaked promises.
azure:core:ResourceGroup (my_specified_resource_group):
error: Error ensuring Resource Providers are registered.
Terraform automatically attempts to register the Resource Providers it supports to
ensure it's able to provision resources.
If you don't have permission to register Resource Providers you may wish to use the
"skip_provider_registration" flag in the Provider block to disable this functionality.
Please note that if you opt out of Resource Provider Registration and Terraform tries
to provision a resource from a Resource Provider which is unregistered, then the errors
may appear misleading - for example:
> API version 2019-XX-XX was not found for Microsoft.Foo
Could indicate either that the Resource Provider "Microsoft.Foo" requires registration,
but this could also indicate that this Azure Region doesn't support this API version.
More information on the "skip_provider_registration" flag can be found here:
<https://www.terraform.io/docs/providers/azurerm/index.html#skip_provider_registration>
Original Error: Cannot register provider Microsoft.Kusto with Azure Resource Manager: resources.ProvidersClient#Register: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client <mailto:'live.com#my_email@hotmail.com|'live.com#my_email@hotmail.com>' with object id '********-****-****-********950e' does not have authorization to perform action 'Microsoft.Kusto/register/action' over scope '/subscriptions/********-****-****-****-********e859' or the scope is invalid. If access was recently granted, please refresh your credentials.".
tall-librarian-49374
03/31/2020, 8:36 AMstale-knife-36790
03/31/2020, 8:59 AMvar resourceGroup = new ResourceGroup("ppwe-playground-pulumi-dev",null, new CustomResourceOptions
{
ImportId = "ppwe-playground-pulumi-dev"
});
(my IDE doesn't recognize 'CustomResourceOptions')tall-librarian-49374
03/31/2020, 10:23 AMstale-knife-36790
03/31/2020, 10:30 AMconst resourceGroup = new azure.core.ResourceGroup("name", null, new pulumi.CustomResourceOptions {
ImportId = "";
});
@tall-librarian-49374 ^ also doesn't work. Was there any update in the past week? Is there a fix for this?tall-librarian-49374
03/31/2020, 10:45 AMconst resourceGroup = new azure.core.ResourceGroup("name", {}, {
importId: "",
});
stale-knife-36790
03/31/2020, 10:55 AMtall-librarian-49374
03/31/2020, 10:57 AMstale-knife-36790
03/31/2020, 10:57 AM"use strict";
const pulumi = require("@pulumi/pulumi");
const azure = require("@pulumi/azure");
// Create an Azure Resource Group
const resourceGroup = new azure.core.ResourceGroup("kynda_crud", {}, {
importId: "cc7bdc8c-aff8-4c6b-81ca-154b2e02e859",
});
// Create an Azure resource (Storage Account)
const account = new azure.storage.Account("pulumi-storage", {
// The location for the storage account will be derived automatically from the resource group.
resourceGroupName: resourceGroup.name,
accountTier: "Standard",
accountReplicationType: "LRS",
});
// Export the connection string for the storage account
return exports.connectionString = account.primaryConnectionString;
colossal-room-15708
03/31/2020, 11:13 AMstale-knife-36790
03/31/2020, 11:19 AMazure:storage:Account (pulumi-storage):
error: Error reading resource group: resources.GroupsClient#Get: Failure responding to request: StatusCode=403 -- Orig<m action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/<subscription id>/resourcegroups/kynda_crud3e6161db' or
the scope is invalid. If access was recently granted, please refresh your credentials."colossal-room-15708
04/02/2020, 7:48 AMstale-knife-36790
04/02/2020, 7:56 AM{
"endpoint": "<https://resource-account.documents.azure.com:443/>",
"key": "Key",
"databaseId": "Database_Id",
"containerId": "items"
}
colossal-room-15708
04/02/2020, 8:20 AMpulumi preview
?stale-knife-36790
04/02/2020, 9:10 AMpulumi preview