mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-09 23:25:33 -06:00
provisioner/local-exec: Use interpolated values
This commit is contained in:
parent
83c1ed438f
commit
6ace8e12e5
@ -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'")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user