Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#Prompting

Advanced AI Prompt for Infrastructure as Code (Terraform) Documentation

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-ai-prompt-terraform-iac-documentation.txt
Act as a Cloud Infrastructure Automation Engineer. Document a complex, reusable [CLOUD_PROVIDER] infrastructure module written in Terraform. You must meticulously analyze the provided [MODULE_SOURCE] (HCL code) and generate a pristine `README.md`. The documentation must include: 1) A high-level architectural summary describing the module's exact provisioning purpose. 2) A massive Markdown table of all [INPUT_VARIABLES] dictating the Variable Name, Data Type, Default Value, and a strict description of its effect. 3) A comprehensive list of all AWS/GCP/Azure Resources and Data Sources physically created by the module. 4) A perfectly formatted 'Example Usage' code block in HCL demonstrating how a developer invokes the module. 5) A critical section detailing prerequisites (e.g., required IAM execution permissions or preexisting VPCs). This output must adhere strictly to the Terraform Registry formatting standard to initialize a semantic versioning automation chain.

Example Text Output

"The AI would generate a professional README.md and technical breakdown for a Terraform module, including HCL code blocks and variable tables."

More AI Portraits Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Infrastructure as Code (Terraform) Documentation" prompt used for?

The AI would generate a professional README.md and technical breakdown for a Terraform module, including HCL code blocks and variable tables.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.