providers/aws: fix error on bad session
This commit is contained in:
parent
460aa76e00
commit
13cf04b2b7
|
@ -188,7 +188,7 @@ func (c *Config) Client() (interface{}, error) {
|
|||
// Set up base session
|
||||
sess, err := session.NewSession(awsConfig)
|
||||
if err != nil {
|
||||
return nil, errwrap.Wrapf("Error creating AWS session: %s", err)
|
||||
return nil, errwrap.Wrapf("Error creating AWS session: {{err}}", err)
|
||||
}
|
||||
sess.Handlers.Build.PushFrontNamed(addTerraformVersionToUserAgent)
|
||||
|
||||
|
|
Loading…
Reference in New Issue