evaluateLocalVariable: also pass the variable name

pull/8837/head
Adrien Delorme 6 years ago
parent bd3112fa7c
commit 8482c6c2e6

@ -155,6 +155,7 @@ func (c *PackerConfig) evaluateLocalVariable(local *Local) hcl.Diagnostics {
return diags
}
c.LocalVariables[local.Name] = &Variable{
Name: local.Name,
DefaultValue: value,
Type: value.Type(),
}

Loading…
Cancel
Save