Skip to content

Commit e8a14e9

Browse files
authored
fix check comment
1 parent 7ff5121 commit e8a14e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/aws_iam_policy_attachment_exclusive_attachment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (r *AwsIAMPolicyAttachmentExclusiveAttachmentRule) Link() string {
4242
return project.ReferenceLink(r.Name())
4343
}
4444

45-
// Check checks the length of the policy
45+
// Check that the resource is not used
4646
func (r *AwsIAMPolicyAttachmentExclusiveAttachmentRule) Check(runner tflint.Runner) error {
4747
resources, err := runner.GetResourceContent(r.resourceType, &hclext.BodySchema{
4848
Attributes: []hclext.AttributeSchema{{Name: r.attributeName}},

0 commit comments

Comments
 (0)