Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bastion host support #50

Closed
jamtur01 opened this issue Oct 20, 2016 · 5 comments
Closed

Bastion host support #50

jamtur01 opened this issue Oct 20, 2016 · 5 comments
Labels
Projects

Comments

@jamtur01
Copy link

A lot of configurations use something like a bastion host or VPN Gateway to bounce traffic or connections through. It'd be good if kitchen-terraform supported Terraform's concept of a bastion host.

@toddmichael
Copy link

Would love to see this as well. Loving me some kitchen-terraform and trying to use in my VPC NAT refactor project. Unfortunately, can't connect to my private instance to test without Bastion support. Again, thanks for the fantastic project. Cheers.

@ncs-alane
Copy link
Contributor

Hi @jamtur01 and @toddmichael:

Thanks for your interest in the project!

The ability to use a bastion host requires support in InSpec. It has not been implemented yet but there is an open issue. Once it is available, we'll make sure to support it.

@dustyburwell
Copy link

The test-kitchen ssh connections appear to respect any configuration you have in your user's ssh config. So, you can set up bastions with ProxyCommand.

@ncs-alane
Copy link
Contributor

@jamtur01 or @toddmichael: does @dustyburwell's solution work for you? We can document the solution while waiting on the implementation in InSpec.

@jamtur01
Copy link
Author

As a workaround, it's fine for me until we have a real solution that's more idempotent and portable.

@ncs-alane ncs-alane added this to To Do in v3.1.0 via automation Dec 31, 2017
ncs-alane added a commit that referenced this issue Jan 3, 2018
@ncs-alane ncs-alane moved this from To Do to In progress in v3.1.0 Jan 3, 2018
ncs-alane added a commit that referenced this issue Jan 5, 2018
ncs-alane added a commit that referenced this issue Jan 6, 2018
ncs-alane added a commit that referenced this issue Jan 7, 2018
v3.1.0 automation moved this from In progress to Done Jan 8, 2018
ncs-alane added a commit that referenced this issue Jan 8, 2018
* Document use of bastion hosts

Fixes #50

* Adjust wording
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v3.1.0
  
Done
Development

No branches or pull requests

4 participants