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

Advanced AI Prompt for Auditing Terraform State for Compliance

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-terraform-state-compliance-audit-logic.txt
Act as a GRC (Governance, Risk, and Compliance) Specialist. I will provide a Terraform state file in JSON format [STATE_FILE_JSON]. Analyze the state against the [COMPLIANCE_FRAMEWORK] (e.g., CIS Benchmarks, SOC2). Identify resources that lack encryption, have public access, or use insecure protocols. Generate a report in [REPORT_FORMAT] that lists the non-compliant resources and provides the Terraform code snippets needed to remediate them within the state.

Example Text Output

"The AI would produce a structured audit report identifying security gaps in the state file and offering specific HCL fixes for each violation."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Auditing Terraform State for Compliance" prompt used for?

The AI would produce a structured audit report identifying security gaps in the state file and offering specific HCL fixes for each violation.

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.