Track hashes of templates so that Terraform recognizes a change
Opened this issue · 1 comments
jamierajewski commented
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.
jamierajewski commented
Possible tools to help with this issue include null_resource and taints/explicit replacements