From 63d7f5993d3a430ab77a85bba0c848099f81fd4b Mon Sep 17 00:00:00 2001 From: stack72 Date: Fri, 30 Oct 2015 22:22:22 +0000 Subject: [PATCH] Changing the AWS CodeCommit Connection Initiation to use the new session based work --- builtin/providers/aws/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/config.go b/builtin/providers/aws/config.go index 89ead4f283b1..3e835c1063fe 100644 --- a/builtin/providers/aws/config.go +++ b/builtin/providers/aws/config.go @@ -217,7 +217,7 @@ func (c *Config) Client() (interface{}, error) { client.codedeployconn = codedeploy.New(sess) log.Println("[INFO] Initializing CodeCommit SDK connection") - client.codecommitconn = codecommit.New(awsConfig) + client.codecommitconn = codecommit.New(usEast1Sess) } if len(errs) > 0 {