Prompt #89
Back to promptsTerraform Module
- Variables
- resource, provider
- Tags
- terraform,iac,devops,cloud
- Source
- research-2026-05-01
- Use count
- 0
- Created
- 2026-05-01T18:11:52.162090+00:00
- Updated
- 2026-05-01T18:11:52.162090+00:00
Content
Write a Terraform module for: {{resource}}
Cloud provider: {{provider}}
Requirements:
- Parameterized with sensible defaults
- Include variables.tf, main.tf, outputs.tf
- Add lifecycle rules (prevent_destroy for stateful resources)
- Tag all resources with: project, env, managed-by=terraform
- Include inline comments for non-obvious decisions
- Output all connection strings / ARNs needed by consuming modules