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

Advanced AI Prompt for Terraform S3 Backend with DynamoDB Locking

Customize the variables below to instantly engineer your prompt.

Required Variables

advanced-terraform-s3-backend-dynamodb-locking.txt
Act as a Senior DevOps Architect. Generate a bulletproof HCL configuration for a Terraform remote state backend utilizing Amazon S3 for durable storage and DynamoDB for strict concurrency state locking. Ensure the configuration enforces server-side encryption via the specific AWS KMS key [KMS_KEY_ID], explicitly enables object versioning on the [BUCKET_NAME] bucket to prevent accidental state corruption, and implements absolute `block_public_acls` and `block_public_policy` rules. Provide a robust, idempotent bash script to programmatically bootstrap this backend infrastructure across the [REGION], ensuring the [TABLE_NAME] DynamoDB table is correctly provisioned with a partition key of `LockID`. Include a detailed security briefing on the risks of plain-text state files.

Expected Visual Output

Expected visual output for Advanced AI Prompt for Terraform S3 Backend with DynamoDB Locking

Example Text Output

"The AI would output a complete HCL backend block"

More Cloud & DevOps Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Terraform S3 Backend with DynamoDB Locking" prompt used for?

The AI would output a complete HCL backend block

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.