From 9593bc302820b9a4852e47164545f6e8811bddb3 Mon Sep 17 00:00:00 2001 From: Sniij <120099321+Sniij@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:05:58 +0900 Subject: [PATCH] fix: S3 config --- upload-to-s3/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload-to-s3/main.go b/upload-to-s3/main.go index 5c80349..afa893a 100644 --- a/upload-to-s3/main.go +++ b/upload-to-s3/main.go @@ -76,7 +76,7 @@ func LambdaHandler(ctx context.Context, request events.APIGatewayProxyRequest) ( }, nil } // S3 설정 초기화 - cfg, err := config.LoadDefaultConfig(ctx) + cfg, err := config.LoadDefaultConfig(ctx, config.WithRegion("ap-northeast-2")) if err != nil { log.Fatalf("failed to load AWS config: %v", err) }