-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overrides module #118
Overrides module #118
Conversation
package schema | ||
|
||
import ( | ||
"crypto/md5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [gas] Use of weak cryptographic primitive,HIGH,HIGH
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
md5
is not used for encryption.
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: detector.go:213:7 detector.go:282:7
}) | ||
} | ||
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: test_helper.go:82:7 detector.go:282:7
for _, template := range d.Schema { | ||
targets += len(template.FindResources(target)) | ||
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: test_helper.go:82:7 detector.go:213:7
reflect.ValueOf(issues), | ||
}) | ||
switch reflect.Indirect(detector).FieldByName("TargetType").String() { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: detector.go:203:7 detector.go:278:7
reflect.ValueOf(issues), | ||
}) | ||
switch reflect.Indirect(detector).FieldByName("TargetType").String() { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: test_helper.go:72:7 detector.go:278:7
targetResources += len(template.Node.(*ast.ObjectList).Filter("resource", target).Items) | ||
targets := 0 | ||
switch targetType { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: test_helper.go:72:7 detector.go:203:7
reflect.ValueOf(issues), | ||
}) | ||
switch reflect.Indirect(detector).FieldByName("TargetType").String() { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: detector.go:227:7 test_helper.go:71:7
targetResources += len(template.Node.(*ast.ObjectList).Filter("resource", target).Items) | ||
targets := 0 | ||
switch targetType { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: detector.go:152:7 test_helper.go:71:7
reflect.ValueOf(issues), | ||
}) | ||
switch reflect.Indirect(detector).FieldByName("TargetType").String() { | ||
case "resource": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "resource" found in: detector.go:152:7 detector.go:227:7
}) | ||
} | ||
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: detector.go:231:7 test_helper.go:81:7
for _, template := range d.Schema { | ||
targets += len(template.FindResources(target)) | ||
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: detector.go:162:7 test_helper.go:81:7
} | ||
case "module": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gometalinter]
- [goconst] 2 other occurrence(s) of "module" found in: detector.go:162:7 detector.go:231:7
Fix #86
ToDo
shcema.Module
terraform_module_pinned_source