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

Advanced AI Prompt for Terraform State Refactoring and Resource Moving

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-terraform-state-mv-refactoring.txt
Expert Terraform Consultant needed. I am refactoring my infrastructure code from a monolithic structure to a modular one. Generate a comprehensive migration plan and a series of 'terraform state mv' commands to move resources from [OLD_MODULE_PATH] to [NEW_MODULE_PATH] without destroying existing infrastructure. Accessing state from [STATE_FILE_URI], create a script that automates the move for complex resources like VPCs and RDS instances. Include a validation step using 'terraform plan' to ensure zero changes are pending after the move.

Example Text Output

"The AI would generate a step-by-step migration guide and a shell script containing 'terraform state mv' commands mapped to the specific module paths provided."

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Terraform State Refactoring and Resource Moving" prompt used for?

The AI would generate a step-by-step migration guide and a shell script containing 'terraform state mv' commands mapped to the specific module paths provided.

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.