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 specializing in AWS. Generate a robust HCL configuration for a Terraform remote state backend using S3 for storage and DynamoDB for state locking. Ensure the configuration includes server-side encryption with KMS key [KMS_KEY_ID], versioning enabled on the bucket [BUCKET_NAME], and public access blocks. Provide a shell script to initialize this backend across [REGION] while ensuring the DynamoDB table [TABLE_NAME] is provisioned with a partition key of 'LockID'. Explain the security implications of this setup.

Example Text Output

"The AI would output a complete HCL backend block, a resource block for the S3 bucket with encryption enabled, and a bash script to automate the initial creation and bootstrapping of the state infrastructure."

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, a resource block for the S3 bucket with encryption enabled, and a bash script to automate the initial creation and bootstrapping of the state infrastructure.

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.