jamierajewski/illume-v2

Track hashes of templates so that Terraform recognizes a change

Opened this issue · 1 comments

If a change is made to one of the templates in /terraform/templates then Terraform will not recognize that change and therefore will not warrant updating the relevant instances when running terraform apply.

Instead, hash the template files and track that in the instance so that when a change is made, it will be detected and cause an update.

NOTE - Will this be enough for a full update? These templates are cloud-init which happen before anything else, so a change here would require a full recreation of the instance.

Possible tools to help with this issue include null_resource and taints/explicit replacements