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

Advanced Terraform State Drift Auto-Remediation

Customize the variables below to instantly engineer your prompt.

Required Variables

terraform-state-drift-auto-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] (e.g., a Production Security Group). 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` silently reverting the manual 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 resource is manually altered, ensuring absolute Infrastructure-as-Code fidelity."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced Terraform State Drift Auto-Remediation" prompt used for?

An unyielding automation script that acts as an infrastructure watchdog, instantly alerting engineering leadership the millisecond a production resource is manually altered, ensuring absolute Infrastructure-as-Code fidelity.

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.