GalleyBytes / terraform-operator

A Kubernetes CRD to handle terraform operations
http://tf.galleybytes.com
Apache License 2.0
364 stars 47 forks source link

Terraform Operator does not detect terraform version upgrades as a reconcile event #65

Closed lannparty closed 2 years ago

lannparty commented 2 years ago

When upgrading terraform version from version 11 to 12 if there are no configuration changes terraform operator will claim nothing to reconcile and will not spawn plan or apply pods.

The terraform object will be updated however-- This creates "false" objects where the terraform resource claims the terraform version is 12 where the tfstate file is still on 11.