Cloud Infrastructure (Terraform)
About this result
Deploy secure cloud infrastructure in minutes. Get Terraform code that follows best practices — no security holes, no surprises.
ChatGPT Prompt
Act as a Senior Cloud Architect. Write a Terraform configuration for an AWS S3 bucket.
Requirements:
- Bucket Name: Variables-based (var.bucket_name).
- Security: Block all public access.
- Versioning: Enabled.
- Encryption: Server-side encryption using AES256.
- Lifecycle Rule: Move objects to Glacier after 30 days.
Output:
- The
main.tfcode block. - The
variables.tfdefinitions.
#devops#cloud#aws
Was this prompt helpful?
2
people found this useful
S
sam_creates
Shared Nov 4, 2025
Explore More Prompts
Have a great prompt to share?
Submit Your Prompt