I manage my consul configuration with terraform, and I frequently encounter this kind of error message :
Error: Provider produced inconsistent result after apply When applying changes to module.shared.consul_config_entry.ml-defaults, provider "consul" produced an unexpected new value for was present, but now absent. This is a bug in the provider, which should be reported in the provider's own issue tracker.
I might be wrong, but I think it’s always on the first run only (ie once it’s applied I can tweak the files as much as I want without seeing this error again)
Here’s a repo where it happens : https://github.com/learn-nomad-consul/cluster-federation
Do you have ideas about how I could fix that ?