terraform/builtin
James Bardin af132a186d remove timeout from remote-exec command context
The timeout for the remote command was taken from the wrong config
field, and the connection timeout was being used which is 5 min. Any
remote command taking more than 5 min would be terminated by
disconnecting the communicator. Remove the timeout from the context, and
rely on the global timeout provided by terraform.

There was no way to get the error from the communicator previously, so
the broken connection was silently ignored and the provisioner returned
successfully. Now we can use the new cmd.Err() method to retrieve any
errors encountered during execution.
2018-03-15 16:03:40 -04:00
..
bins Initial implementation of a habitat provisioner 2017-12-07 16:29:30 -08:00
providers don't let default workspace override environment 2018-03-09 10:27:06 -05:00
provisioners remove timeout from remote-exec command context 2018-03-15 16:03:40 -04:00