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

Terraform Drift Detection and Automated Remediation

Customize the variables below to instantly engineer your prompt.

Required Variables

terraform-drift-detection-automated-remediation.txt
Act as a Site Reliability Engineer. Design a rigid, automated security workflow specifically engineered to detect and violently remediate configuration drift (e.g., unauthorized manual AWS Console 'ClickOps') targeting a [CRITICAL_RESOURCE_TYPE]. Engineer a CI/CD cron job that blindly executes a `terraform plan -detailed-exitcode` against the remote [STATE_FILE_BACKEND] every 15 minutes. If the exit code mathematically proves architectural drift exists, the pipeline must instantly transmit a high-severity JSON payload to the [ALERTING_CHANNEL] (e.g., PagerDuty or Slack). Write a technical manifesto debating the catastrophic risks of implementing 'auto-remediation' (an automated `terraform apply` reverting the change) versus a strict 'alert-only' mode in a highly volatile production environment.

Example Text Output

"An unyielding automation script that acts as an infrastructure watchdog, instantly alerting engineering leadership the millisecond a production database security group is manually altered."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Terraform Drift Detection and Automated Remediation" prompt used for?

An unyielding automation script that acts as an infrastructure watchdog, instantly alerting engineering leadership the millisecond a production database security group is manually altered.

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.