Steps
- Describe the design clearly.
- Ask for the infrastructure code.
- Review the security settings before you apply it.
Here's my architecture description: [paste]. Write Terraform for it with least-privilege security, and list assumptions you made.Tools
- ChatGPT
Source
hn ·
Related use cases
Software & DevOps
Build an app prototype from your database schema
One builder had ChatGPT turn their database schema into types and sample data, then built the app's screens one at a time in Bolt.
Software & DevOps
Generate test cases for your project
Building their own Lisp, one developer gave ChatGPT a few sample tests and had it write more for the test suite.
Software & DevOps
Get a missing UI component written
A developer asked ChatGPT how to add a copy-to-clipboard button in a UI library. It said the library didn't have one and wrote one, which saved some digging.