stupid terraform versions

You know when’s the most annoying time to see a terraform version error? When you are trying to terraform import a bunch of orphaned resources that didn’t successfully delete during CRUD cause of a bug in a custom module. Error: Error loading state: Remote workspace Terraform version "1.4.6" does not match local Terraform version... … SREs are probably laughing at us for not using direnv; but hey, why do I even need to worry about matching versions when I’m using remote workspace mode with Terraform Cloud?...

August 5, 2023 · 1 min · 170 words · @the.editor