{"uid":"cap_fY5xF6APw2kL7sLNuzv9U","slug":"terraform-hcl-formatter-light-cf058b36","name":"Terraform HCL Formatter (Light)","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/bot-bazaar/api/v1/terraform-hcl-formatter-light","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2JmwGAQ7sKlsYeikgqIpf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Formats and prettifies Terraform HCL configuration text into canonical, well-formatted output","exampleAgentPrompt":"Can you format this Terraform HCL for me? Here's the raw config: resource \"aws_instance\" \"example\" {ami=\"ami-12345\" instance_type=\"t2.micro\"}","exampleUseCases":[{"title":"Normalize messy Terraform config","prompt":"I copy-pasted some Terraform code from the internet and the indentation is all over the place — can you clean it up and make it properly formatted HCL?"},{"title":"Pre-commit HCL formatting hook","prompt":"Before I commit this Terraform file to GitHub, can you run it through the HCL formatter so it matches our team's canonical style? Here's the raw code."},{"title":"Format generated infrastructure code","prompt":"My script auto-generated some Terraform HCL but it's not pretty-printed. Can you format it so it's readable and consistent with standard terraform fmt output?"}],"resultDescription":"Returns a JSON object with a 'result' field containing the formatted HCL text and a 'status' field indicating success or failure of the formatting operation.","failureModes":["Invalid or unparseable HCL input returns a non-success status","Empty text input may return an empty result","Extremely large HCL files may be truncated or rejected","Malformed JSON in the request body causes a 400-level error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call HCL formatting service without spinning up local tooling like 'terraform fmt'. Ideal for CI pipelines, agent workflows, or web apps that need to normalize Terraform config on the fly without local Terraform installation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:58:24.688Z","isFirstParty":false}