Closed envy closed 3 years ago
Using file() to read an ssh key causes terraform to think that the key at gridscale changed every time.
file()
I suspect that when refreshing the state, no trailing whitespace will be on the key string so terraform thinks it is different.
0.14.4 (0.13.4 also affected)
See #112
Not needed I think.
No panic
Setting the key once should
What actually happened?
terraform apply
apply
None
@envy Thanks for reporting the issue. I've fixed it, and will release a hot fix asap.
@envy Could you try the new release, please? v1.8.2
Looks good, thanks!
Using
file()
to read an ssh key causes terraform to think that the key at gridscale changed every time.I suspect that when refreshing the state, no trailing whitespace will be on the key string so terraform thinks it is different.
Terraform Version
0.14.4 (0.13.4 also affected)
Affected Resource(s)
Terraform Configuration Files
See #112
Debug Output
Not needed I think.
Panic Output
No panic
Expected Behavior
Setting the key once should
Actual Behavior
What actually happened?
Steps to Reproduce
terraform apply
terraform apply
will again set the keyapply
will set the key anewImportant Factoids
None
References