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

Advanced AI Prompt for Designing Automated Terraform State Rollback Hooks

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-terraform-state-automated-rollback-logic.txt
As a Reliability Engineer, design an automated rollback mechanism for failed Terraform deployments. If a [FAILURE_CONDITION] occurs during 'terraform apply', the system should trigger a [ROLLBACK_TRIGGER]. Provide a script that fetches [PREVIOUS_STATE_ID] from the backend versioning history and performs a 'terraform state push' to revert the environment to its last known good state. Detail the risks of state rollbacks and how to ensure the physical infrastructure matches the reverted state.

Example Text Output

"The AI would create a logic flow and a shell script for automated state version reversion, along with a safety checklist for post-rollback synchronization."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Designing Automated Terraform State Rollback Hooks" prompt used for?

The AI would create a logic flow and a shell script for automated state version reversion, along with a safety checklist for post-rollback synchronization.

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.