sparse-intern-71089
08/27/2021, 8:30 AMacoustic-alarm-43219
08/27/2021, 8:40 AMwhite-cat-90296
08/27/2021, 8:43 AMacoustic-alarm-43219
08/27/2021, 8:52 AMwhite-cat-90296
08/27/2021, 8:57 AMwhite-cat-90296
08/27/2021, 9:02 AM@pulumi/azure
npm package, make sure you're using the @pulumi/azure_native
package.
So a simple change to the code.
// Instead of something like this
import * as azure from '@pulumi/azure';
const registry = azure.containerservice.getRegistry({
name: "myregistryname",
resourceGroupName: "myresourcegroupname",
});
//====================================================
// Use something like THIS instead (Notice: different package)
import * as containerregistry from '@pulumi/azure-native/containerregistry';
const registry = containerregistry.getRegistry({
registryName: "myregistryname",
resourceGroupName "myresourcegroupname"
});
white-cat-90296
08/27/2021, 9:03 AMboundless-car-60268
08/27/2021, 9:35 AMSkipProviderRegistration
flag to true in the Azure config. This can be done by adding the following to the config
section in the yaml:
azure:skip_provider_registration: "true"
boundless-car-60268
08/27/2021, 9:36 AMboundless-car-60268
08/27/2021, 9:38 AMazure
provider uses Terraform under the covers.white-cat-90296
08/27/2021, 9:41 AMwhite-cat-90296
08/27/2021, 9:41 AM