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
You are a Site Reliability Engineer. Design a workflow for [CI_PLATFORM] that automates Terraform drift detection for [CLOUD_PROVIDER] infrastructure. The logic must run on a [SCHEDULE] basis, execute a 'terraform plan -detailed-exitcode', and parse the output to determine if state divergence exists. If drift is detected, the system should open a GitHub issue or Jira ticket with a diff summary. Include logic for 'terraform refresh' and explain how to avoid false positives from auto-scaling groups or dynamic tags.

Example Text Output

"The AI would provide a YAML-based CI/CD pipeline configuration (e.g., GitHub Actions or GitLab CI) along with a Python or Bash script to parse Terraform plan exit codes and trigger alerts."

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., GitHub Actions or GitLab CI) along with a Python or Bash script to parse Terraform plan exit codes and trigger alerts.

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.