kreuzwerker / terraform-provider-docker

Terraform Docker provider
Mozilla Public License 2.0
570 stars 187 forks source link

Support for error message when service didn't converge #624

Open dhilgarth opened 1 month ago

dhilgarth commented 1 month ago

Community Note

Description

When specifying a converge config on a docker_service resource and the initial deployment of that service fails, e.g. because the container started as part of the service exits right away because of misconfiguration, then there is no way to see the error message, because the provider will delete the service and the failed tasks with it after the converge time is over.

It would be great of the provider could output the last N log lines of the last failed task or so.

New or Affected Resource(s)