Terraform on Azure February 2024 Update

Terraform on Azure February 2024 Update




Welcome to our February Terraform on Azure bimonthly update! Sorry that this one took so long; moving forward, we plan to return the planned bimonthly cadence. We’ll once again open with updates in our major investment areas, then close with upcoming goals or plans. We will be aiming for the next update in April!


AzureRM provider


The resources exposed by the AzureRM provider are what most customers think of and include in their configurations when managing Azure infrastructure with Terraform. Azure is always adding new features and services so we work hard to ensure that you can manage these when they are generally available (GA).

A few highlights to call out, though there are certainly more updates than this:

We’re currently on version 3.93 of the provider. For the latest updates, check out the release notes.


AzAPI provider


The AzAPI provider is a thin layer on top of the Azure ARM REST APIs. The AzAPI provider enables you to manage any Azure resource type using any API version. This provider complements the AzureRM provider by enabling the management of new or existing Azure resources and properties (including private preview). The AzAPI provider, along with the VsCode extension, language server and migration tool are critical tools to keep in your IaC toolbox to ensure that you can manage all of your Azure infrastructure using Terraform.


Latest Updates


We’ve embedded code samples to the VSCode extension, which will enable automatic loading of an existing code sample in the azapi provider GitHub repo.


We’re also happy to announce two new data source types, azapi_resource_id and azapi_resource_list.


azapi_resource_id helps parse through your Azure resource ID into subscription, resource group, and other useful attributes for you to take as outputs. For example, for an automationAccount:





data "azapi_resource_id" "account" { type = "Microsoft.Automation/automationAccounts@2021-06-22" resource_id = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Automation/automationAccounts/automationAccount1" } output "account_name" { value = data.azapi_resource_id.account.name } output "account_resource_group" { value = data.azapi_resource_id.account.resource_group_name } output "account_subscription" { value = data.azapi_resource_id.account.subscription_id } output "account_parent_id" { value = data.azapi_resource_id.account.parent_id }





Read more about it through the registry: azapi_resource_id | Data Sources | Azure/azapi | Terraform | Terraform Registry


azapi_resource_list helps point at a singular resource ID and get all related resources. For example, for a list of resources under a subscription:





data "azapi_resource_list" "listBySubscription" { type = "Microsoft.Automation/automationAccounts@2021-06-22" parent_id = "/subscriptions/00000000-0000-0000-0000-000000000000" response_export_values = ["*"] }





Check out more information at the registry: azapi_resource_list | Data Sources | Azure/azapi | Terraform | Terraform Registry


Lastly, we’ve added a vSupport endpoint block, which enables targeting of Gov or China cloud environments.

As always, make sure to check out the GitHub for release notes!


Usage Trends


We are thrilled to see that downloads has over tripled since our last blogpost! Thank you to everyone who has given the provider a try!




Data of snapshot from February 27th, 2024


Verified Modules


In the past months, the modules have undergone a merge with the broader Azure Verified Modules (AVM) effort. Thus, this section of updates will be focused on AVM moving forward. Per the webpage for AVM:


“Azure Verified Modules (AVM) is an initiative to consolidate and set the standards for what a good Infrastructure-as-Code module looks like.


Modules will then align to these standards, across languages (Bicep, Terraform etc.) and will then be classified as AVMs and available from their respective language specific registries.”


The current list of AVM Terraform modules stands at 22. For a list of available modules, please visit https://azure.github.io/Azure-Verified-Modules/indexes/terraform/tf-resource-modules/. This list also includes a list of planned modules that the team is prioritizing in the coming months.


For the GitHub of the AVM effort, visit https://github.com/Azure/Azure-Verified-Modules to learn details on how to contribute. We warmly welcome contributions from our community!




The Terraform on Azure community is a key investment for our team in bringing the latest product updates, connecting you with other Terraform on Azure users, and enabling you to engage in ongoing feedback as we aim to improve your Terraform experience on Azure. This section will consistently speak on community related feedback or engagements. As always, register to join the community at https://aka.ms/AzureTerraform and the slack at https://aka.ms/joinaztfslack!


Community Calls


We’ve had two Terraform on Azure community calls since our previous post. The November community call featured Mark Tinderholt (aka Azure Terraformer) as he talked about the synergy of Ansible, Packer, and Terraform for your infrastructure experience!


The January community call recording featured Kieran and Jeffrey from StackQL, who talked about how it can accelerate your cloud development.


The March community call will have two sessions, both on Wednesday, March 13th. The first one at 9 am PT will be featuring our very own Matt White, while the second session at 5 pm PT will feature Arkahna’s Simone Bennett. Both presenters will be collaborating together to present on the same content: a deep dive into the Azure Landing Zone (ALZ). Register at https://aka.ms/aztfcc (this link points to the 9 am session)


Community Feedback


Our team is currently recruiting community members (meaning you!) for feedback!

  • Copilot for Azure Deployment, IaC, and Migration


    • The Azure product team is keen to understand your goals, challenges, and needs related to establishing and maintaining cloud infrastructures. Whether you’re using Azure, AWS, or other cloud platforms, your insights are invaluable to us. We also would like to explore how AI Copilot could help address your needs and pain-points.
      If you’re interested in sharing your experiences and providing feedback, please take about 10-15 minutes to fill out the survey. Your participation will help shape the future of cloud services.
      Based on survey responses, we would like to extend an invitation to individuals who are the right fit to participate in our in-depth interviews.
      We appreciate your time and look forward to hearing your thoughts!
  • Community conversations: AzAPI improvements


    • If you use the AzAPI provider, we'd love to talk with you about some new improvements we're making and get your feedback. Please fill out this survey so we can get in touch!



New Landing-Page Table of Contents (TOC)


One of the best attributes of online documentation is the ability to more quickly respond to customer requests. One of the concerns we've heard from our customer polls and interviews is that discoverability (the ability to find articles) in the TOC could be more efficient. Therefore, we have refactored the Azure Terraform landing page TOC to match the Azure documentation landing page. The goal is to improve discoverability by using consistent TOC node names to group semantically related articles. As always keep that great feedback coming!


New and Updated Azure Terraform content


Since our last update, we have published the following new and updated articles:

Application Gateway

Azure Firewall

Azure resource group

Azure Managed Lustre

Blob Storage

Published on:

Learn more
Azure Tools Blog articles
Azure Tools Blog articles

Azure Tools Blog articles

Share post:

Related posts

Generally Available: Transition to WS2012 / R2 ESUs enabled by Azure Arc from Volume Licensing

Customers that have enrolled in WS2012/ R2 ESUs through Volume Licensing for Year 1 can transition to Azure Arc for Year 2 of the program. Ext...

8 hours ago

Soft delete for NFS Azure file shares is now Generally Available.

Soft delete protects your Azure file shares from accidental deletion. The following feature was already made available for SMB File share...

11 hours ago

Announcing v7.0 Support on vCore-based Azure Cosmos DB for MongoDB

    We are thrilled to announce that vCore-based Azure Cosmos DB for MongoDB now officially supports version 7.0. This addition expa...

1 day ago

Skyrocket Your Efficiency: Dive into Azure Cloud-Native solutions

This blog invites you to explore the power of cloud-native solutions, which can transform the way businesses operate and innovate. As part of ...

1 day ago

[Mitigated] Azure Lab Services - Maintenance update outage

Hi, We are experiencing a service outage due to ongoing maintenance since around July 21st, 4 pm PDT. The service is currently not available i...

2 days ago

Azure Lab Services - Maintenance update outage

Hi, We are experiencing a service outage due to ongoing maintenance since around July 21st, 4 pm PDT. The service is currently not available i...

2 days ago

Dataverse: Create Custom Integration To Azure Cosmos DB for PostgreSQL

In a world where integration is common to do. Especially, because clouds is a common term, for sure, there are requests to integrate Dataverse...

3 days ago

Recovery options for Azure Virtual Machines (VM) affected by CrowdStrike Falcon agent

We are aware of an issue that started on 19 July 2024 at 04:09UTC, which resulted in customers experiencing unresponsiveness and startup failu...

3 days ago

Use cases of Advanced Network Observability for your Azure Kubernetes Service clusters

Introduction  Advanced Network Observability is the inaugural feature of the Advanced Container Networking Services (ACNS) suite bringing...

4 days ago

Azure Update Manager to support CIS hardened images among other images

What’s coming in by end of July 2024: Azure Update Manager will add support for 35 CIS hardened images. This is the first time that Update Man...

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