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

Advanced AI Prompt for Automated Terraform Drift Detection Logic

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-terraform-drift-detection-remediation.txt
Act as a Site Reliability Engineer. Design a robust automated workflow for [CI_PLATFORM] engineered to relentlessly execute Terraform drift detection against [CLOUD_PROVIDER] infrastructure. The pipeline must trigger strictly on a [SCHEDULE] cron expression, execute a `terraform plan -detailed-exitcode`, and mathematically parse the standard output to determine if state divergence (drift) exists. If an exit code of `2` is detected, the system must securely authenticate and automatically open a highly detailed GitHub Issue or Jira ticket containing the sanitized diff summary. Include logic demonstrating the use of `terraform refresh` and provide an architectural strategy to completely filter out false positives caused by auto-scaling groups or dynamic timestamp tags.

Expected Visual Output

Expected visual output for Advanced AI Prompt for Automated Terraform Drift Detection Logic

Example Text Output

"The AI would provide a YAML-based CI/CD pipeline configuration (e.g."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Automated Terraform Drift Detection Logic" prompt used for?

The AI would provide a YAML-based CI/CD pipeline configuration (e.g.

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.