We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 586bbc1 commit 88e0532Copy full SHA for 88e0532
internal/exec/exec.go
@@ -75,6 +75,11 @@ func (e *Exec) Run(cc *oaws.CredentialContainer) error {
75
if strings.HasPrefix(k, "AWS_") {
76
pairs[k] = pair[1]
77
}
78
+
79
+ // fix 'RuntimeError: Could not determine home directory.' on windows when using --exec to run AWS cli v2
80
+ if strings.HasPrefix(k, "HOME") {
81
+ pairs[k] = pair[1]
82
+ }
83
84
// add creds env var names to pairs
85
pairs["AWS_ACCESS_KEY_ID"] = cc.AccessKeyID
0 commit comments