/terraform-module-ssh_file

Easily acquire file contents over SSH. Like `data "local_file"`, but remote.

Primary LanguageHCLMIT LicenseMIT

It's easy to access the contents of a file on the machine running terraform with data "local_file" but in order to access a file on a remote machine (outside of a provisioner) we have to resort to data "external" to run a custom command.

This ssh_file module is designed to address this by abstracting it into a more convenient to use module.