Skip to content

Commit 4cd1b49

Browse files
Updated awsutils.go with tmp code
1 parent 1bafd6c commit 4cd1b49

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lambda-extensions/utils/awsutils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ func init() {
1818
if !found {
1919
awsRegion = os.Getenv("AWS_REGION")
2020
}
21+
fmt.Println("awsRegion:-->", awsRegion)
2122

2223
// Load AWS default config with region
2324
cfg, err := config.LoadDefaultConfig(context.TODO(),
@@ -26,7 +27,7 @@ func init() {
2627
if err != nil {
2728
panic("unable to load AWS SDK config, " + err.Error())
2829
}
29-
30+
fmt.Printf("%+v\n", cfg)
3031
// Create S3 client
3132
s3Client := s3.NewFromConfig(cfg)
3233

0 commit comments

Comments
 (0)