I mean here's another example from right now regarding Terraform:
> Me: how to only run data "archive_file" if a path exists?
> GPT4: <blah blah blah> add: depends_on = [fileexists("/path/to/file")]
This is nonsense. Terraform tells me:
> A single static variable reference is required: only attribute access and indexing with constant keys. No calculations, function calls, template expressions, etc are allowed here
I just get this rubbish all too often to be afraid for my job.