Support for connections via SSH bastion host#80
Support for connections via SSH bastion host#80dominik-lekse wants to merge 1 commit intohashicorp:masterfrom
Conversation
|
Nice work @dominik-lekse !
Let's get it cleanly working here, because I also would like to add it to the docker provider |
|
Geez, what kind of crazy name is "lekse"? ;) This is an excellent addition; I have been using Terraform with OpenStack but do not want my database server exposed globally, and I was thinking I would have to run Terraform within the tenant or something. For me this addition greatly increases the value of the PostgreSQL provider. |
|
Any update on this? This would be a major boon for myself and my team, and I know a lot of other people are eager for this as well. |
It may be worthwhile to move the code from tf-core into a library simply because there are other providers (MySQL, etc) that could probably use this same code. Either way, what's this waiting on? I'm not too familiar with Go, but I'd really like to get this working, if you definitive tasks that need to be done, I could contribute. |
This pull requests adds support for connecting to PostgreSQL instances via a SSH bastion host.
Notes
connectionblock.ssh.gohas been copied from the Terraform Core provisioner implementation.Tasks
TestAccPostgresqlSsh_ConnectTestAccPostgresqlSshDatabase_BasicExample provider configuration with SSH bastion host
References