terraform/builtin/provisioners/remote-exec
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
..
test-fixtures Few small fixes to make the last tests also pass 2015-05-01 18:48:54 +02:00
resource_provisioner.go remove timeout from remote-exec command context 2018-03-15 16:03:40 -04:00
resource_provisioner_test.go remove retryFunc 2018-02-14 18:21:26 -05:00