infuerno.github.io

Terraform: Getting Started - Azure

Resources

Install Terraform

Create Configuration

Build Infrastructure

Change Infrastructure

Deploy Infrastructure

Resource Dependencies

Provision

Terraform provisioners help you do additional setup and configuration when a resource is created or destroyed. You can move files, run shell scripts, and install software.

Input Variables

Output Variables

`output "ip" {
  value = "${azurerm_public_ip.publicip.ip_address}"
}`

Modules

Terraform modules are self-contained packages of Terraform configurations that are managed as a group. Modules are used to create reusable components, improve organization, and to treat pieces of infrastructure as a black box. e.g. network module, compute module.

Remote State Storage

Supports team based workflows via remote backends.