Pulumi Azure Classic Provider

repository·master·Indexed 40 days ago

https://github.com/pulumi/pulumi-azure

The Azure Classic provider for Pulumi is a derived version of the Terraform azurerm provider, allowing developers to manage Azure infrastructure using Pulumi's programming models. While supported for existing usage, Pulumi recommends the Azure Native provider for new projects to ensure complete resource coverage and same-day access to new features via the Azure Resource Manager API.

Tokens
142.2K
Snippets
381
Records
864
Agent score
50%

What's inside Pulumi Azure

  1. Overview of the Pulumi Azure (AzureRM) provider

    master

    The pulumi-azure package is used for creating and managing Microsoft Azure cloud resources. It is based on the Terraform azurerm provider.

    Important Recommendation: While this package is available, it is recommended to use the Azure Native provider for provisioning Azure infrastructure. Azure Native provides:

    • Complete coverage of Azure resources.
    • Same-day access to new Azure resources and resource updates.
  2. Overview of the Pulumi Azure provider

    master

    The pulumi-azure package allows you to create and manage Microsoft Azure cloud resources. It is a derived work based on the Terraform azurerm provider.

    Important Recommendation: While this package is available, it is highly recommended to use the Azure Native provider for provisioning Azure infrastructure. The Azure Native provider offers:

    • Complete coverage of all Azure resources.
    • Same-day access to new Azure resources and resource updates.
  3. Configure Provider Resource Provider Registrations in v6

    master

    Version 6 changes how Azure Resource Providers (RPs) are automatically registered. Instead of a single toggle, you can now select from predefined sets or provide a custom list.

    resourceProviderRegistrations options

    Use this property to select a predefined set of RPs to register:

    • core: A minimal set of necessary RPs.
    • extended: An expanded set suggested by the community.
    • all: A complete set of RPs for all provider functionality.
    • none: Disables automatic registration.
    • legacy: A set from earlier provider versions (provided for forward compatibility; will be removed in a future major release).

    resourceProvidersToRegisters

    Use this property to provide a custom list of specific resource provider names to register in addition to the set selected in resourceProviderRegistrations.

  4. Choose between Azure Classic and Azure Native providers

    master

    When provisioning Azure infrastructure with Pulumi, you have two primary choices:

    1. Azure Native provider: Recommended for most use cases. It is built directly from the Azure Resource Manager (ARM) API, providing complete coverage of Azure resources and same-day access to new features and updates.
    2. Azure Classic provider: Based on the Terraform azurerm provider. It has fewer resources and options and receives updates more slowly than Azure Native, but it remains fully supported for existing usage.

    Use Azure Classic if you are maintaining existing infrastructure built with the Terraform azurerm provider or if your workflow specifically requires it.

  5. Choosing between Azure provider and Azure Native provider

    master

    This package (pulumi-azure) is a Pulumi provider for managing Microsoft Azure resources, derived from the Terraform azurerm provider.

    Recommendation: For most use cases, it is recommended to use the Azure Native provider instead of this package.

    Why use Azure Native?

    • Complete Coverage: It provides complete coverage of all Azure resources.
    • Timely Updates: It offers same-day access to new Azure resources and resource updates.
  6. Use the `CosmosApp` component for globally-distributed applications

    master

    The CosmosApp component is a reusable abstraction designed to simplify the creation of globally-distributed applications using Azure Cosmos DB. It manages the complex multi-regional infrastructure required for such applications, including:

    • Multi-region data distribution: Configures Azure Cosmos DB to replicate data across multiple regions.
    • Traffic Routing: Sets up Azure Traffic Manager to route user traffic to the nearest healthy regional endpoint.
    • Pluggable Compute: While the component provides the multi-regional skeleton, it allows you to plug in different compute tiers, such as:
      • Azure Functions
      • Azure Container Instances
      • Azure VM Scale Sets + Azure Load Balancer

    By providing a list of regions in your configuration, a single Pulumi execution will deploy the entire stack across all specified locations.

  7. Use Azure Native instead of Azure (Terraform-based) for complete resource coverage

    master

    This package is a Pulumi provider for Microsoft Azure resources based on the Terraform azurerm provider.

    Important Recommendation: For most use cases, it is recommended to use the Azure Native provider instead. Azure Native provides complete coverage of Azure resources and offers same-day access to new Azure resources and resource updates, whereas this package is limited by the coverage of the underlying Terraform provider.

  8. Choosing between AzureRM and Azure Native providers

    master

    The pulumi-azure package (based on the Terraform azurerm provider) is available for managing Microsoft Azure resources. However, it is highly recommended to use the Azure Native provider instead for new infrastructure.

    Why choose Azure Native?

    • Complete Coverage: It provides full coverage of all Azure resources.
    • Day-Zero Support: It offers same-day access to new Azure resources and resource updates.
  9. Use the Azure Native provider instead of Azure (Terraform-based)

    master

    This package (pulumi-azure) is a Pulumi provider for managing Microsoft Azure resources based on the Terraform azurerm provider.

    Recommendation: For most use cases, it is recommended to use the Azure Native provider instead. Azure Native provides complete coverage of Azure resources and offers same-day access to new Azure resources and updates, whereas this package is derived from the Terraform provider and may have different coverage characteristics.

  10. Choosing between Azure and Azure Native providers

    master

    The pulumi-azure package is a Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider.

    Recommendation: It is recommended to use the Azure Native provider instead of pulumi-azure for provisioning Azure infrastructure.

    Why use Azure Native?

    • Complete Coverage: Provides complete coverage of Azure resources.
    • Timely Updates: Offers same-day access to new Azure resources and resource updates.
  11. Use Azure Native instead of Azure (Terraform-based) for full resource coverage

    master

    This package (pulumi-azure) is based on the Terraform azurerm provider. While it is useful for managing Microsoft Azure cloud resources, it is recommended to use the Azure Native provider instead if you require:

    1. Complete coverage of all Azure resources.
    2. Same-day access to new Azure resources and resource updates.

    Use this package only if your workflow specifically requires the Terraform-based azurerm implementation.