© 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_3

3. Getting Started with Terraform

Ritesh Modi1  
(1)
Hyderabad, Telangana, India
 

The previous two chapters introduced the foundational concepts related to infrastructure as code (IaC) and also introduced Terraform architecture. This chapter will go into some of the important elements of writing Terraform scripts. This chapter will focus on variables, variable datatypes, providers, outputs, remote state, and file/folder layout for writing Terraform scripts.

Terraform Variables

Variables are an important concept in Terraform. They accept external values and help in authoring generic ...

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.