Bastion module for terraform
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/default
.gitignore
.travis.yml
CODEOWNERS
LICENSE
Makefile
README.md
cloud-config.yml
main.tf
outputs.tf
variables.tf

README.md

Bastion

Build Status

Template for provisioning an auto-scaling bastion instance with static IP. Authorized keys are added at launch, and ingress is limited to the specified CIDR blocks.

  • Login: ssh forward@<bastion-ip>
  • Tunnel: ssh -t forward@<bastion-ip> "tunnel user@<destination-ip>"

NOTE: tunnel is just ssh -i <path-to-pem> in a bash script.