...

/

Referencing Variables, Modules, and State File

Referencing Variables, Modules, and State File

Learn how to read variables and understand the purpose of the module directory and state file.

We'll cover the following...

Referencing variables

So far, you’ve learned a lot about how to define variables but ultimately you need to read them too. Reading variables is the easy part! Once you’ve defined a variable and have assigned it a value, you can reference that variable’s value by using an expression.

Perhaps you’ve created the variable called virtualMachineName and need to reference that variable’s value inside of a configuration file. To do that, you can use an expression. You can see an example of ...