terraform/communicator
Paul Hinze 7ffa66d1a5 ssh: accept private key contents instead of path
We've been moving away from config fields expecting file paths that
Terraform will load, instead prefering fields that expect file contents,
leaning on `file()` to do loading from a path.

This helps with consistency and also flexibility - since this makes it
easier to shift sensitive files into environment variables.

Here we add a little helper package to manage the transitional period
for these fields where we support both behaviors.

Also included is the first of several fields being shifted over - SSH
private keys in provisioner connection config.

We're moving to new field names so the behavior is more intuitive, so
instead of `key_file` it's `private_key` now.

Additional field shifts will be included in follow up PRs so they can be
reviewed and discussed individually.
2015-11-12 14:59:14 -06:00
..
remote
ssh ssh: accept private key contents instead of path 2015-11-12 14:59:14 -06:00
winrm removed extra parentheses 2015-10-08 15:48:04 +03:00
communicator.go Adding support for WinRM 2015-05-01 18:48:54 +02:00
communicator_mock.go Adding the tests... 2015-05-08 18:17:57 +02:00
communicator_test.go Adding support for WinRM 2015-05-01 18:48:54 +02:00