Pass environment through to go language programs
This allows those programs to use authentication credentials that are
in the environment to perform extra work.
@@ -179,7 +179,7 @@ func (host *goLanguageHost) constructEnv(req *pulumirpc.RunRequest) ([]string, e
return nil, err
}
- var env []string
+ env := os.Environ()
maybeAppendEnv := func(k, v string) {
if v != "" {
env = append(env, fmt.Sprintf("%s=%s", k, v))
