Backend configuration changed (reconfigure and migrate-state don't fix)

No, you’ve got what I was trying to communicate backwards.

I’m saying that somehow - I don’t know how, but I can’t explain the observed behaviour any other way - you do somehow have a pre-existing .terraform directory present in your pipeline when it runs the terraform init command that fails.

(Bear in mind I know nothing about Azure DevOps pipelines so can only extrapolate from general automation concepts.)

1 Like