Comment by 0xbadcafebee
2 months ago
I'm starting to believe other people have a very different experience from me. I use AI to write Terraform. It "fixes" things I don't want "fixed", changes the functionality I wanted, disobeys restrictions I gave it, etc. About half of the time, my time is wasted.
Yeah, I haven't used it to write Terraform yet and am not surprised that it would trip on itself with it. However, I did do a major refactor to AWS CDK using TypeScript and Claude worked really well. I treat it as a pair programmer, have it work really atomically, and always question it's work. I find scoping things down really helps with the quality of it's output.