From d7d7ff7f89775a7b71f925a8724de5ce66228019 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 9 Nov 2025 23:16:05 +0100 Subject: [PATCH] chore: Prepare release v3.9.0 (#821) --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 4 ++-- docs/index.md | 2 +- docs/resources/service.md | 7 ++----- examples/provider/provider-tf13.tf | 2 +- 5 files changed, 24 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9937a177..35b0c050 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,22 @@ + +## [v3.9.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v3.8.0...v3.9.0) (2025-11-09) + +### Chore + +* Add file requested by hashicorp ([#813](https://github.com/kreuzwerker/terraform-provider-docker/issues/813)) +* Prepare release v3.8.0 ([#806](https://github.com/kreuzwerker/terraform-provider-docker/issues/806)) + +### Feat + +* Implement caching of docker provider ([#808](https://github.com/kreuzwerker/terraform-provider-docker/issues/808)) + +### Fix + +* test attribute of docker_service healthcheck is not required ([#815](https://github.com/kreuzwerker/terraform-provider-docker/issues/815)) +* docker_service label can be updated without recreate ([#814](https://github.com/kreuzwerker/terraform-provider-docker/issues/814)) + + ## [v3.8.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v3.7.0...v3.8.0) (2025-10-08) diff --git a/README.md b/README.md index 819b82c6..6be3b5f2 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Do you want to migrate from `v2.x` to `v3.x`? Please read the [migration guide]( ## Example usage -Take a look at the examples in the [documentation](https://registry.terraform.io/providers/kreuzwerker/docker/3.8.0/docs) of the registry +Take a look at the examples in the [documentation](https://registry.terraform.io/providers/kreuzwerker/docker/3.9.0/docs) of the registry or use the following example: @@ -38,7 +38,7 @@ terraform { # since new versions are released frequently docker = { source = "kreuzwerker/docker" - version = "3.8.0" + version = "3.9.0" } } } diff --git a/docs/index.md b/docs/index.md index addf80a6..9a4c76b5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ terraform { required_providers { docker = { source = "kreuzwerker/docker" - version = "3.8.0" + version = "3.9.0" } } } diff --git a/docs/resources/service.md b/docs/resources/service.md index 7005156a..403909fd 100644 --- a/docs/resources/service.md +++ b/docs/resources/service.md @@ -369,7 +369,7 @@ Optional: - `dns_config` (Block List, Max: 1) Specification for DNS related configurations in resolver configuration file (`resolv.conf`) (see [below for nested schema](#nestedblock--task_spec--container_spec--dns_config)) - `env` (Map of String) A list of environment variables in the form VAR="value" - `groups` (List of String) A list of additional groups that the container process will run as -- `healthcheck` (Block List, Max: 1) A test to perform to check that the container is healthy (see [below for nested schema](#nestedblock--task_spec--container_spec--healthcheck)) +- `healthcheck` (Block List, Max: 1) A test to perform to check that the container is healthy. It works in the same way, and has the same default values, as the HEALTHCHECK Dockerfile instruction set by the service's Docker image. Your Compose file can override the values set in the Dockerfile. (see [below for nested schema](#nestedblock--task_spec--container_spec--healthcheck)) - `hostname` (String) The hostname to use for the container, as a valid RFC 1123 hostname - `hosts` (Block Set) A list of hostname/IP mappings to add to the container's hosts file (see [below for nested schema](#nestedblock--task_spec--container_spec--hosts)) - `isolation` (String) Isolation technology of the containers running the service. (Windows only). Defaults to `default`. @@ -415,15 +415,12 @@ Optional: ### Nested Schema for `task_spec.container_spec.healthcheck` -Required: - -- `test` (List of String) The test to perform as list - Optional: - `interval` (String) Time between running the check (ms|s|m|h). Defaults to `0s`. - `retries` (Number) Consecutive failures needed to report unhealthy. Defaults to `0` - `start_period` (String) Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`. +- `test` (List of String) The test to perform as list - `timeout` (String) Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`. diff --git a/examples/provider/provider-tf13.tf b/examples/provider/provider-tf13.tf index 709c022f..82234203 100644 --- a/examples/provider/provider-tf13.tf +++ b/examples/provider/provider-tf13.tf @@ -2,7 +2,7 @@ terraform { required_providers { docker = { source = "kreuzwerker/docker" - version = "3.8.0" + version = "3.9.0" } } }