debug region we found

This commit is contained in:
Matthew Hooker 2017-11-07 14:51:20 -08:00
parent c106e7c26c
commit 545ee45567
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ func (c *AccessConfig) Session() (*session.Session, error) {
} else if *session.Config.Region == "" {
return nil, fmt.Errorf("Could not find AWS region, make sure it's set.")
} else {
log.Printf("Found region %s", *session.Config.Region)
c.session = session
}