provisioner/local-exec: Use interpolated values

This commit is contained in:
Armon Dadgar 2014-07-09 15:50:10 -07:00
parent 83c1ed438f
commit 6ace8e12e5
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func (p *ResourceProvisioner) Apply(
c *terraform.ResourceConfig) (*terraform.ResourceState, error) {
// Get the command
commandRaw, ok := c.Get("command")
commandRaw, ok := c.Config["command"]
if !ok {
return s, fmt.Errorf("local-exec provisioner missing 'command'")
}