From db08ae27abfc039ff1dd1f4dbe1cb4cc234981a6 Mon Sep 17 00:00:00 2001 From: Tyler Hendrickson Date: Tue, 17 Oct 2023 17:27:45 -0500 Subject: [PATCH] Dependencies: Remove github.com/aws/aws-sdk-go as a direct dependency (#408) * Use aws-sdk-go-v2 in DownloadFFISSpreadsheet * Use aws-sdk-go-v2 in PersistFFISData * Remove github.com/aws/aws-sdk-go as direct dependency * go mod tidy --- cmd/DownloadFFISSpreadsheet/handler.go | 2 +- cmd/PersistFFISData/handler.go | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/DownloadFFISSpreadsheet/handler.go b/cmd/DownloadFFISSpreadsheet/handler.go index a173e5b6..029e8008 100644 --- a/cmd/DownloadFFISSpreadsheet/handler.go +++ b/cmd/DownloadFFISSpreadsheet/handler.go @@ -17,7 +17,7 @@ import ( "github.com/aws/aws-sdk-go-v2/service/s3" "github.com/aws/aws-sdk-go-v2/service/s3/types" - "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go-v2/aws" "github.com/usdigitalresponse/grants-ingest/internal/log" "github.com/usdigitalresponse/grants-ingest/pkg/grantsSchemas/ffis" ) diff --git a/cmd/PersistFFISData/handler.go b/cmd/PersistFFISData/handler.go index 70a90908..d84c42b9 100644 --- a/cmd/PersistFFISData/handler.go +++ b/cmd/PersistFFISData/handler.go @@ -7,9 +7,9 @@ import ( "fmt" "github.com/aws/aws-lambda-go/events" + "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/dynamodb/types" "github.com/aws/aws-sdk-go-v2/service/s3" - "github.com/aws/aws-sdk-go/aws" "github.com/usdigitalresponse/grants-ingest/internal/log" "github.com/usdigitalresponse/grants-ingest/pkg/grantsSchemas/ffis" ) diff --git a/go.mod b/go.mod index 610a0ef4..26f518a2 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,6 @@ require ( github.com/Netflix/go-env v0.0.0-20220526054621-78278af1949d github.com/alecthomas/kong v0.8.1 github.com/aws/aws-lambda-go v1.41.0 - github.com/aws/aws-sdk-go v1.45.27 github.com/aws/aws-sdk-go-v2 v1.21.2 github.com/aws/aws-sdk-go-v2/config v1.19.0 github.com/aws/aws-sdk-go-v2/credentials v1.13.43 @@ -43,6 +42,7 @@ require ( github.com/DataDog/sketches-go v1.4.2 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect github.com/andybalholm/brotli v1.0.5 // indirect + github.com/aws/aws-sdk-go v1.45.27 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.14 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 // indirect