© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
R. ModiDeep-Dive Terraform on Azurehttps://doi.org/10.1007/978-1-4842-7328-9_8

8. Terraform Unit Testing

Ritesh Modi1  
(1)
Hyderabad, Telangana, India
 

Terraform is quite unique and different when it comes to testing. In normal situations with other programming languages, it is easy to test the code in isolation and also together—thanks to the abundant availability of libraries and frameworks that help in creating context for different kinds of tests and that help determine the quality of code and application.

Terraform, as you well know by now, is based on the principles of Infrastructure as Code (IaC). Terraform code actually performs an external action like ...

Get Deep-Dive Terraform on Azure: Automated Delivery and Deployment of Azure Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.