I used a coding agent to help generate infrastructure as code for an AWS solution.
It did what I asked. The code was deployed. Everything looked fine at first.
But when I checked the AWS console more closely, I realized something important: the solution was using a legacy service pattern that AWS had already moved past.
That moment changed how I think about AI-generated code.
The code worked. That wasn’t the same as being right.






