Skip to content

Commit

Permalink
passed aws region via an env var for up tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
psihachina committed Nov 16, 2022
1 parent 501eba9 commit ccbc040
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/commands/tunnel_up.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func (o *TunnelUpOptions) runSSH(args []string) error {
c := exec.Command("ssh", args...)

c.Dir = o.Config.EnvDir
os.Setenv("AWS_REGION", o.Config.AwsRegion)

runner := term.New(term.WithStdin(os.Stdin))
_, _, code, err := runner.Run(c)
Expand Down

0 comments on commit ccbc040

Please sign in to comment.