-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/migrate to iam serviceaccount (#42)
* Added serviceaccount and removed annotation for role * Add logging for AWS authentication provider Update go version Replace ioutil with io * Check the Errors field in s3.DeleteObjectsOutput If deleting an object in s3 fail, it won't be reported in the error returned from `svc.DeleteObjects`, instead it will be reported in the output object returned from the same method. * Fix snyk vuln https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPROMETHEUSCLIENTGOLANGPROMETHEUSPROMHTTP-2401819 * Use custom envvar denoting the region of the bucket used by this svc The service access buckets which are in eu-west-1, however when the service is deployed in us the AWS_REGION envvars is set to us-east-1(because of the IAM to ServiceAccount feature). Co-authored-by: mkrum001 <mkrum001@gmail.com> Co-authored-by: Ivan Ivanov <ivan.ivanov@ft.com>
- Loading branch information
1 parent
a1536a7
commit 0153966
Showing
9 changed files
with
219 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,37 @@ | ||
module github.com/Financial-Times/resilient-splunk-forwarder | ||
|
||
go 1.13 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/Financial-Times/go-fthealth v0.0.0-20171204124831-1b007e2b37b7 | ||
github.com/Financial-Times/go-logger/v2 v2.0.1 | ||
github.com/Financial-Times/service-status-go v0.0.0-20160323111542-3f5199736a3d | ||
github.com/aws/aws-sdk-go v1.12.27-0.20171113235433-395e6c4c7c39 | ||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect | ||
github.com/aws/aws-sdk-go v1.33.10 | ||
github.com/jawher/mow.cli v0.0.0-20170430135212-8327d12beb75 | ||
github.com/pborman/uuid v0.0.0-20170612153648-e790cca94e6c | ||
github.com/pkg/errors v0.9.1 | ||
github.com/prometheus/client_golang v1.11.1 | ||
github.com/stretchr/testify v1.7.0 | ||
go.uber.org/multierr v1.8.0 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.1 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-ini/ini v1.51.1 // indirect | ||
github.com/gogo/protobuf v1.1.2-0.20180830160456-5669497fd644 // indirect | ||
github.com/golang/protobuf v1.2.1-0.20180910224916-e344474228f5 // indirect | ||
github.com/golang/protobuf v1.4.3 // indirect | ||
github.com/hashicorp/go-version v0.0.0-20170202080759-03c5bf6be031 // indirect | ||
github.com/jawher/mow.cli v0.0.0-20170430135212-8327d12beb75 | ||
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect | ||
github.com/jmespath/go-jmespath v0.3.0 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/pborman/uuid v0.0.0-20170612153648-e790cca94e6c | ||
github.com/pkg/errors v0.8.1-0.20180127015812-30136e27e2ac | ||
github.com/prometheus/client_golang v0.9.0-pre1.0.20180907102542-7858729281ec | ||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 // indirect | ||
github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e // indirect | ||
github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273 // indirect | ||
github.com/smartystreets/goconvey v1.6.4 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.26.0 // indirect | ||
github.com/prometheus/procfs v0.6.0 // indirect | ||
github.com/sirupsen/logrus v1.6.0 // indirect | ||
github.com/stretchr/objx v0.1.2-0.20180129172003-8a3f7159479f // indirect | ||
github.com/stretchr/testify v1.2.2-0.20180206082539-be8372ae8ec5 | ||
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 // indirect | ||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect | ||
golang.org/x/sys v0.0.0-20200107162124-548cf772de50 // indirect | ||
gopkg.in/ini.v1 v1.51.1 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
golang.org/x/sys v0.2.0 // indirect | ||
google.golang.org/protobuf v1.26.0-rc.1 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters