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:
- Announcing Azure Stack Hub Provider 1.0 - HashiCorp
- v1.0 Upgrade Guide
- Terraform Azure Stack Provider
- Docs overview | hashicorp/azurestack | Terraform Registry
- hashicorp/terraform-provider-azurestack: Terraform provider for Azure Stack (github.com)
- Azure Stack Hub Infrastructure as code using Terraform (microsoft.com) (Getting started with previous version [AzHub v2102+ required])
- Releases · hashicorp/terraform (github.com)
- Resource provider API versions supported by profiles in Azure Stack Hub - Azure Stack Hub | Microsoft Docs
- Manage API version profiles in Azure Stack Hub - Azure Stack Hub | Microsoft Docs
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 moreRelated posts
Public Preview of Azure Migrate from VMware to Azure Stack HCI
Today, we are thrilled to announce the public preview of the Azure Migrate functionality to migrate VMs from VMware to Azure Stack HCI, a sign...
Sneak peek at new Azure edge infrastructure at Hannover Messe 2024
Written by Cosmos Darwin, Principal Group Manager on the Azure Edge & Platform team This week is Hannover Messe 2024, the world’s biggest ...
Apply critical update for Azure Stack HCI VMs to maintain Azure verification
Azure verification for VMs on Azure Stack HCI makes it possible for Azure-exclusive benefits to work outside of the cloud and in on-premises a...
Logical Networks in Azure Portal for HCI: Setting the Stage for Software Defined Networking
At this past Microsoft Ignite 2023, we officially announced the public preview of logical networks in Azure Portal for Azure Stack HCI. These ...
Introducing Azure Virtual Desktop workload in Azure Stack HCI Sizer!
Earlier in February 2024, we announced the general availability of Azure Virtual Desktop for Azure Stack HCI which extends the capabilities of...
Hyper-V VM Migration to Azure Stack HCI, version 23H2
Written by Kerim Hanif, Senior Program Manager on the Azure Edge & Platform team Azure Migrate is a unified platform t...
Possible MAC address assignment strategies for tenant VMs running on Stack-HCI environment
Azure Stack HCI is a hyperconverged infrastructure (HCI) cluster solution consists of windows servers (Hyper-V), Storage Spaces Direct, a...
Azure Stack HCI version 23H2 is generally available
Written by Cosmos Darwin, Principal PM Manager on the Azure Edge & Platform team Today we’re announcing the general availab...
AKS enabled by Azure Arc is now available on Azure Stack HCI 23H2
Azure Kubernetes Service (AKS) allows you to run a managed Kubernetes solution at the edge wherever you need it, with built-in support...
MAC address assignment strategies for tenant VMs running on Stack-HCI environment
Azure Stack HCI is a hyperconverged infrastructure (HCI) cluster solution consists of windows servers (Hyper-V), Storage Spaces Direct, a...