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

Advanced AI Prompt for Synchronizing Terraform State across Multi-Region Backends

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-multi-region-terraform-state-synchronization.txt
Act as a Disaster Recovery Architect. Design an active-passive multi-region Terraform state storage architecture to survive total regional loss. The primary S3 state bucket and DynamoDB lock table reside in [PRIMARY_REGION]. Define the AWS CLI or Terraform code to configure a strict [REPLICATION_POLICY] (S3 Cross-Region Replication with RTC) streaming the state files to the [SECONDARY_REGIONS]. Architect the failover protocol: explain exactly how to handle state locking during a disaster when the primary DynamoDB table is unreachable. Provide a runbook script that dynamically rewrites the `backend.tf` to point to the secondary region and forces a `terraform init -reconfigure` to restore CI/CD deployment capabilities within minutes.

Example Text Output

"The AI would deliver an AWS CLI or Terraform configuration for S3 bucket replication and a failover runbook for switching backend regions."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Synchronizing Terraform State across Multi-Region Backends" prompt used for?

The AI would deliver an AWS CLI or Terraform configuration for S3 bucket replication and a failover runbook for switching backend regions.

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.