What format does variable definition file use in Terraform?

Experience Level: Junior
Tags: Terraform


A variable definitions file uses the same basic syntax as Terraform language files, but consists only of variable name assignments.


rg_name = "myresourcegroup"
locations = [
  "West Europe",
  "North Europe",


No Comments Yet.
Be the first to tell us what you think.
Terraform CLI
Terraform CLI

Are you learning Terraform ? Try our test we designed to help you progress faster.

Test yourself