Skip to content
HALOWERK

Codewerk

tflint

Runs the official TFLint 0.65.0 release binary (MPL-2.0, SHA-256 checked against checksums.txt) with the bundled tflint-ruleset-terraform in an isolated, resource-limited child process without network: deprecated interpolation and index syntax, unused declarations, missing required_version/required_providers, untyped or undocumented variables, duplicate map keys, unpinned module sources and more (preset recommended or all). Modules are not downloaded (call_module_type none) and provider.

POST https://code.halowerk.com/v1/tflint

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
filesobjectYesMap of file name (*.tf) to HCL content, max. 1 MB in total.
presetstringNoRule preset of the terraform ruleset.
enable_rulesarrayNoAdditional rules to enable.
disable_rulesarrayNoRules to disable.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "files"
  ],
  "properties": {
    "files": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 50,
      "propertyNames": {
        "pattern": "^[A-Za-z0-9_-][A-Za-z0-9_.-]{0,62}\\.tf$"
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 1000000
      },
      "description": "Map of file name (*.tf) to HCL content, max. 1 MB in total."
    },
    "preset": {
      "type": "string",
      "enum": [
        "recommended",
        "all"
      ],
      "default": "recommended",
      "description": "Rule preset of the terraform ruleset."
    },
    "enable_rules": {
      "type": "array",
      "maxItems": 40,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^terraform_[a-z_]{3,60}$"
      },
      "description": "Additional rules to enable."
    },
    "disable_rules": {
      "type": "array",
      "maxItems": 40,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "pattern": "^terraform_[a-z_]{3,60}$"
      },
      "description": "Rules to disable."
    }
  }
}

Open original schema

Published input example

{
  "files": {
    "main.tf": "variable \"name\" {}\n\noutput \"greeting\" {\n  value = \"${var.name}\"\n}\n"
  },
  "preset": "recommended"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’