From ccb7c6e8abe0fae89d115347c0677b5c0f45e2bf Mon Sep 17 00:00:00 2001 From: Nolan Woods Date: Sun, 29 Nov 2020 06:42:55 -0700 Subject: [PATCH] fix: allow healthcheck to be computed as container can specify (#312) Co-authored-by: Nolan Woods --- docker/resource_docker_container.go | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/resource_docker_container.go b/docker/resource_docker_container.go index 9898a6cd..2b386987 100644 --- a/docker/resource_docker_container.go +++ b/docker/resource_docker_container.go @@ -775,6 +775,7 @@ func resourceDockerContainer() *schema.Resource { Description: "A test to perform to check that the container is healthy", MaxItems: 1, Optional: true, + Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "test": {