-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39814 from hashicorp/td-isolate-aws-sdk-go-refere…
…nces Tech debt: Isolate AWS SDK for Go v1 references
- Loading branch information
Showing
756 changed files
with
9,053 additions
and
10,037 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
rules: | ||
- id: aws-sdk-go-imports | ||
languages: [go] | ||
message: Do not use AWS SDK for Go v1 | ||
paths: | ||
include: | ||
- internal/ | ||
exclude: | ||
- "internal/service/simpledb/*.go" | ||
- "internal/conns/awsclient.go" | ||
patterns: | ||
- pattern: | | ||
import ("$X") | ||
- metavariable-regex: | ||
metavariable: "$X" | ||
regex: '^github.com/aws/aws-sdk-go/.+$' | ||
severity: WARNING | ||
|
||
- id: aws-sdk-go-base-awsv1shim-imports | ||
languages: [go] | ||
message: Do not use aws-sdk-go-base AWS SDK for Go v1 shims | ||
paths: | ||
include: | ||
- internal/ | ||
exclude: | ||
- "internal/service/simpledb/*.go" | ||
- "internal/conns/config.go" | ||
patterns: | ||
- pattern: | | ||
import ("$X") | ||
- metavariable-regex: | ||
metavariable: "$X" | ||
regex: '^github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/?.*$' | ||
severity: WARNING |
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
Oops, something went wrong.