Azure Pulumi utilities for provisioning and managing Azure infrastructure using Pulumi with the Azure Native provider (@pulumi/azure-native).
This package provides high-level constructs and service managers for Azure:
pnpm add @gradientedge/cdk-utils-azure
import { CommonAzureConstruct } from '@gradientedge/cdk-utils-azure'
class MyAzureStack extends CommonAzureConstruct {
constructor(name: string, args: any, opts?: pulumi.ComponentResourceOptions) {
super(name, args, opts)
this.initResources()
}
}
Set commonStorageAccountSku on common Azure stack/construct props (for example in a stage context JSON file) to supply a default for storage accounts created through AzureStorageManager. An account's own sku takes precedence. If neither is set, the manager uses Standard_LRS. Pulumi ignoreChanges for sku is configured separately through the resource options passed to createStorageAccount; a configured default does not update existing accounts when SKU changes are ignored.
Set commonAppServiceZoneRedundant on common Azure stack/construct props to supply a default zoneRedundant value for app service plans created through AzureAppServiceManager. A plan's own zoneRedundant takes precedence. If neither is set, the manager uses true.