hashicorp / hcat

Hashicorp Configuration and Templating library (hcat, pronounced hashicat)
Mozilla Public License 2.0
96 stars 12 forks source link

refactored resolver.Run() return struct #58

Closed eikenb closed 3 years ago

eikenb commented 3 years ago

Change "Complete" to be true unless template has un-resolved fields.

This eliminated the need for the private 'missing' field for tests.

Complete + NoChange now let you detect all combinations of template readiness with change detection.

These are the changes discussed in CTS PR comment linked below, except for the content caching. Still not sure about if/how I'd want to do that.

https://github.com/hashicorp/consul-terraform-sync/pull/322#discussion_r656652067