terraform/builtin/provisioners/file
James Bardin 0345d960b2 simplify remote-exec runScripts
There no reason to retry around the execution of remote scripts. We've
already established a connection, so the only that could happen here is
to continually retry uploading or executing a script that can't succeed.

This also simplifies the streaming output from the command, which
doesn't need such explicit synchronization. Closing the output pipes is
sufficient to stop the copyOutput functions, and they don't close around
any values that are accessed again after the command executes.
2018-02-15 16:14:38 -05:00
..
resource_provisioner.go simplify remote-exec runScripts 2018-02-15 16:14:38 -05:00
resource_provisioner_test.go Refactor the provisioner validation function (#15273) 2017-06-15 19:57:04 +02:00