Loading...

Updated HashiCorp Terraform Provider for Azure Stack Hub

Updated HashiCorp Terraform Provider for Azure Stack Hub

Updated HashiCorp Terraform Provider for Azure Stack Hub

 

We are excited to announce the latest updates to the Terraform provider for Azure Stack Hub – Version 1.0.0! We worked closely with our partner HashiCorp to bring some of their latest features for Terraform to Azure Stack Hub systems everywhere.

 

For context, Terraform is an infrastructure as code tool that allows a user to define resources in human-readable configuration files called HCL (HashiCorp Configuration Language) templates. Terraform providers interact with APIs to manage resources on Azure Stack Hub and other cloud services, including Azure, in one place. The extensible provider model is one of Terraform’s major value-adds, allowing us to use a single toolset to configure and deploy infrastructure, configuration and application deployments on different platforms and layers.

Here are some notable changes from this update:

  • This latest release has added support for Azure Stack Hub 2020-09-01 API profile.
  • VM and VMSS resources are now split into Linux and Windows versions for enhanced validation. These resources now match the AzureRM provider.
  • Azure Stack Hub Terraform provider has been updated to support KeyVault APIs
    • Terraform can now be used to create KeyVault resources and set access policies.
    • Data sources have also been updated to support KeyVault
  • Terraform will now support subscriptions on Azure Stack Hub
  • A new features block to configure provider behavior from within your Terraform configuration.
  • The provider now prevents overwriting existing resources and requires terraform import to bring existing resources into the Terraform state
  • 8 new DNS resources covering almost every API
  • Resource group Safe Delete ON by default - Terraform now checks during the deletion of a Resource Group for remaining child items and will raise an error if present. This behavior can be controlled using the prevent_deletion_if_contains_resources feature flag in the resource_group block within the features block.
  • Additional changes to Network and Compute resources - Please visit the Azure Stack provider v1.0 Upgrade Guide for all changes.

 

NOTE: Version 1.0 of the Azure Stack provider supports Terraform 0.12 and later. Terraform 0.10 and 0.11 are no longer supported with this release.

 

To learn more and get started please visit the following resources:

Please reach out to HashiCorp Terraform team with any questions or concerns @ HashiCorp Help Center or open an issue at the GitHub repository above!

 

Thank you!

 

Published on:

Learn more
Azure Stack Blog articles
Azure Stack Blog articles

Azure Stack Blog articles

Share post:

Related posts

Azure Developer CLI: Azure Container Apps Dev-to-Prod Deployment with Layered Infrastructure

This post walks through how to implement “build once, deploy everywhere” patterns using Azure Container Apps with the new azd publ...

13 hours ago

Accelerate Your Growth: Azure Cosmos DB Partner Acceleration Program

Accelerate Your Growth: Azure Cosmos DB Partner Acceleration Program Unlock 360° Success with the Cosmos DB Engineering Team Are you ready to ...

2 days ago

Transforming Field Operations with AI, Azure Maps & Dynamics 365

Efficient field operations are the backbone of successful, data-driven organizations. Yet, many businesses continue to struggle with scattered...

4 days ago

Failures Happen in Cloud, but how Azure Cosmos DB keeps your Applications Online

The only thing that’s constant in distributed systems is failures. No cloud platform is immune to failures — from regional outages and transie...

5 days ago

The `azd` extension to configure GitHub Copilot coding agent integration with Azure

This post shares how to set up the GitHub Copilot coding agent integration with Azure resources and services by using the Azure Developer CLI ...

5 days ago

Announcing Azure MCP Server 1.0.0 Stable Release – A New Era for Agentic Workflows

Today marks a major milestone for agentic development on Azure: the stable release of the Azure MCP Server 1.0! The post Announcing Azure MCP ...

7 days ago

From Backup to Discovery: Veeam’s Search Engine Powered by Azure Cosmos DB

This article was co-authored by Zack Rossman, Staff Software Engineer, Veeam; Ashlie Martinez, Staff Software Engineer, Veeam; and James Nguye...

7 days ago

Azure SDK Release (October 2025)

Azure SDK releases every month. In this post, you'll find this month's highlights and release notes. The post Azure SDK Release (October 2025)...

8 days ago

Microsoft Copilot (Microsoft 365): [Copilot Extensibility] No-Code Publishing for Azure AI Foundry Agents to Microsoft 365 Copilot Agent Store

Developers can now publish Azure AI Foundry Agents directly to the Microsoft 365 Copilot Agent Store with a simplified, no-code experience. Pr...

9 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy