polemos/mtd_aws/sdk.go

12 lines
281 B
Go
Raw Normal View History

2023-03-14 15:12:28 +01:00
package mtd_aws
import (
//"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
)
func Session() *session.Session {
session := session.Must(session.NewSessionWithOptions(session.Options{
SharedConfigState: session.SharedConfigEnable,
}))
return session
}