We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff5121 commit e8a14e9Copy full SHA for e8a14e9
rules/aws_iam_policy_attachment_exclusive_attachment.go
@@ -42,7 +42,7 @@ func (r *AwsIAMPolicyAttachmentExclusiveAttachmentRule) Link() string {
42
return project.ReferenceLink(r.Name())
43
}
44
45
-// Check checks the length of the policy
+// Check that the resource is not used
46
func (r *AwsIAMPolicyAttachmentExclusiveAttachmentRule) Check(runner tflint.Runner) error {
47
resources, err := runner.GetResourceContent(r.resourceType, &hclext.BodySchema{
48
Attributes: []hclext.AttributeSchema{{Name: r.attributeName}},
0 commit comments