Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Plan always forces 2 new resource #2845

Open
yasin-amadmia-mck opened this issue Jan 29, 2018 · 1 comment
Open

Plan always forces 2 new resource #2845

yasin-amadmia-mck opened this issue Jan 29, 2018 · 1 comment

Comments

@yasin-amadmia-mck
Copy link

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

@Dominik-K
Copy link

Dominik-K commented Feb 22, 2018

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants