To create a local, you’ll first declare it within your Terraform configuration. Use thelocalsblock to define your locals, specifying a name for each and assigning it a value. Let’s say you want to create a local that stores the name of a virtual machine: Plain text locals { vm_name ...