Skip to content

Commit

Permalink
Merge pull request #544 from hazelops/IZE-722-aws-ssm-has-region-pass…
Browse files Browse the repository at this point in the history
…ed-from-global-➡️-tunnel

IZE-722 passed aws region via an env var for up tunnel
  • Loading branch information
psihachina authored Nov 18, 2022
2 parents fc11c48 + ccbc040 commit 6beb245
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 6beb245

Please sign in to comment.