Skip to content

Commit

Permalink
Fix setup-tunnel.sh on GCP platform (#20)
Browse files Browse the repository at this point in the history
* Add AMI for eu-west-1 AWS zone

* Fix setup-tunnel.sh for GCP platform
  • Loading branch information
calj authored and Louis committed Sep 15, 2017
1 parent d7bc3ae commit 262a827
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tpl/aws/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ variable "aws_amis" {
default = {
us-east-1 = "ami-1d4e7a66"
eu-central-1 = "ami-958128fa"
eu-west-1 = "ami-785db401"
}
}
2 changes: 1 addition & 1 deletion tpl/gcp/setup-tunnel.sh.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

BASTION_IP="$(terraform output -state=terraform/terraform.tfstate bastion_ip)"
ssh -D 5000 -fNC kite@$BASTION_IP -i <%= @values['kite']['public_key_path'] %>
ssh -D 5000 -fNC kite@$BASTION_IP -i <%= @values['kite']['private_key_path'] %>

export BOSH_ALL_PROXY=socks5://localhost:5000

0 comments on commit 262a827

Please sign in to comment.