Skip to content

Copy files and run commands remotely via SSH, with bastion and proxy support

License

Notifications You must be signed in to change notification settings

jeffbski-rga/terraform-provider-ssh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh Terraform provider

Overview

This is a terraform provider to copy files and run commands remotely over SSH. Unlike the Terraform provisioners which are described as a "last resort" this provider embraces the concept of pushing and executing content to compute instances over SSH. Apart from bastion hosts it also supports tunneling over HTTP proxies. This is especially problematic if you are running Terraform from inside a corporate network and need to reach out to your instances.

Using the provider

Terraform 0.14: To install this provider, copy and paste this code into your Terraform configuration. Then, run terraform init.

terraform {
  required_providers {
    ssh = {
      source = "loafoe/ssh"
    }
  }
}

Development requirements

  • Terraform 0.14.x
  • Go 1.15 or newer (to build the provider plugin)

Issues

LICENSE

License is MIT

About

Copy files and run commands remotely via SSH, with bastion and proxy support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%