Skip to content

Commit b09b64f

Browse files
committed
[AWS] Allow passing secret key and access key from config for authentication
1 parent 775abad commit b09b64f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/aws.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func loadAwsConfig(accessKeyID, secretAccessKey, defaultRegion string) aws.Confi
2121
AccessKeyID: accessKeyID, SecretAccessKey: secretAccessKey,
2222
Source: "Reka Variables",
2323
},
24-
}))
24+
}), awsCfg.WithRegion(defaultRegion))
2525
} else {
2626
cfg, err = awsCfg.LoadDefaultConfig(awsCfg.WithRegion(defaultRegion))
2727
}

0 commit comments

Comments
 (0)