tectonic-installer icon indicating copy to clipboard operation
tectonic-installer copied to clipboard

Plan always forces 2 new resource

Open yasin-amadmia-mck opened this issue 7 years ago • 1 comments

Whenever I plan within Terraform, it always tells me it is going to Plan: 2 to add, 0 to change, 2 to destroy. Even if it is immediately after an apply (without changing any resource) The resources are module.bootstrapper.null_resource.bootstrapper (new resource required), and module.tectonic.template_dir.tectonic

yasin-amadmia-mck avatar Jan 29 '18 14:01 yasin-amadmia-mck

@geek876 I can confirm that the module.tectonic.template_dir.tectonic will always be recreated (platform/aws& tectonic_1.8.7-tectonic.1). It's because inside it is the admin_password_hash saved which is correctly hashed with bcrypt(). As this salts the hash, it will return a new value on every run.

I can't say anything about the module.bootstrapper.null_resource.bootstrapper as this is only used in platform/azure.

Dominik-K avatar Feb 22 '18 18:02 Dominik-K