chore(aws): upgrade aws dependencies
This commit is contained in:
18
pkg/awsutils/awsutils.go
Normal file
18
pkg/awsutils/awsutils.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package awsutils
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/aws/aws-sdk-go-v2/aws"
|
||||
"github.com/aws/aws-sdk-go-v2/config"
|
||||
"log"
|
||||
)
|
||||
|
||||
func MustLoadConfig() aws.Config {
|
||||
|
||||
c, err := config.LoadDefaultConfig(context.Background())
|
||||
if err != nil {
|
||||
log.Panicf("unable to load aws default config: %v", err)
|
||||
|
||||
}
|
||||
return c
|
||||
}
|
Reference in New Issue
Block a user