You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone please help me take a look at this issue? I'm trying to create a Consul service resource using Terraform, but I don't know why a direct call using curl can create the resource normally, but when created using Terraform, the resource is automatically deleted with the prompt "This service has been deregistered and no longer exists in the catalog." Here is the content of my Terraform execution file
…you are trying to register a service on a node where a Consul agent is running (an internal service). The consul_service resource was created to register external services and adds the service to the Consul catalog but not to the local catalog of the agent. When the agent perform the anti-entropy syncs, it finds a service in the catalog it knows nothing about and removes it
The solution is to register the service to a node that is not running a Consul agent.
Can someone please help me take a look at this issue? I'm trying to create a Consul service resource using Terraform, but I don't know why a direct call using curl can create the resource normally, but when created using Terraform, the resource is automatically deleted with the prompt "This service has been deregistered and no longer exists in the catalog." Here is the content of my Terraform execution file
Consul is installed using a binary installation, and here is the content of my systemd startup file
I can assure you that the registered service is accessible.
I tried to delete the check module, which did skip the health check, but the resource was automatically deleted after a while
The text was updated successfully, but these errors were encountered: