Presentation

Deploying ARM Template Resources with HashiCorp Terraform

Learn the best practices for integrating Terraform with Azure Resource Manager (ARM) templates.

Speaker: Chukwukadibia Durugo

Terraform is a tool for provisioning and managing infrastructure as code. Terraform code is written in the HashiCorp Configuration Language (HCL) which is very human-readable, focuses on workflows, and has reusable modules.

Running Azure Resource Manager (ARM) templates in Terraform may sound pointless as most users would rather deploy using either Terraform or ARM templates, which is more often recommended, and not both, because doing both makes you lose benefits of Terraform. But there are peculiar cases in which you may want to do this—for example, deploying resources available in ARM but not yet in the current Terraform provider. But you still want the whole infrastructure to be automated with Terraform.

I ran into this challenge when I wanted to deploy an App Service Environment to Azure amidst other IaaS resources I already had scripted with Terraform, and so made use of ARM template functionality in Terraform for the deployment.

What You'll Learn

Terraform can be easily integrated with other deployment scripts such as ARM Templates, Bash scripts, etc. This talk aims to show best practices for integrating with ARM Templates.

Slides

You can find the slides from HashiTalks: Africa presentations in this HashiCorp Community Forum page.

More resources like this one

  • 2/3/2023
  • Case Study

Automating Multi-Cloud, Multi-Region Vault for Teams and Landing Zones

zero-trust
  • 12/13/2022
  • White Paper

A Field Guide to Zero Trust Security in the Public Sector

  • 12/5/2022
  • Case Study

Enabling infrastructure as code at LinkedIn

  • 11/30/2022
  • Case Study

How Weyerhaeuser automates secrets with Vault and Terraform