def METHOD_NAME(self):
    resource_conf = {
        "name": ["test"],
        "user": ["${aws_iam_user.lb.name}"],
        "policy": [
            {"Version": "2012-10-17", "Statement": [{"Action": ["*"], "Effect": "Allow", "Resource": "abc*"}]}
        ],
    }
    scan_result = check.scan_entity_conf(conf=resource_conf, entity_type="aws_iam_policy")
    self.assertEqual(CheckResult.FAILED, scan_result)