Code Room
Vibe codingMedium
Question
An AI assistant wrote this RDS module for a PII-bearing customer database when you asked it to "spin up a Postgres instance for the customers table." Compliance review is in two days. What does the reviewer flag?
resource "aws_db_instance" "customers" { identifier = "prod-customers" engine = "postgres" engine_version = "15.4" instance_class = "db.t3.large" allocated_storage = 100 username = "admin" password = "ChangeMe123!" publicly_accessible = true skip_final_snapshot = true}What a strong answer looks like
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Learn the concepts
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.
Run or narrate your approach, then ask the coach.