mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-22 22:52:57 -05:00
fix(container): remove log_driver's default value and make log_driver computed (#270)
* fix(container): remove log_driver's default value and make log_driver `computed` * fix: update the description * docs: make website-generation Co-authored-by: Manuel Vogel <mavogel@posteo.de>
This commit is contained in:
parent
f8422a558e
commit
1e55894715
2 changed files with 3 additions and 3 deletions
|
|
@ -57,7 +57,7 @@ resource "docker_image" "ubuntu" {
|
|||
- **ipc_mode** (String) IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`.
|
||||
- **labels** (Block Set) User-defined key/value metadata (see [below for nested schema](#nestedblock--labels))
|
||||
- **links** (Set of String, Deprecated) Set of links for link based connectivity between containers that are running on the same host.
|
||||
- **log_driver** (String) The logging driver to use for the container. Defaults to `json-file`.
|
||||
- **log_driver** (String) The logging driver to use for the container.
|
||||
- **log_opts** (Map of String) Key/value pairs to use as options for the logging driver.
|
||||
- **logs** (Boolean) Save the container logs (`attach` must be enabled). Defaults to `false`.
|
||||
- **max_retry_count** (Number) The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'.
|
||||
|
|
|
|||
|
|
@ -708,8 +708,8 @@ func resourceDockerContainer() *schema.Resource {
|
|||
|
||||
"log_driver": {
|
||||
Type: schema.TypeString,
|
||||
Description: "The logging driver to use for the container. Defaults to `json-file`.",
|
||||
Default: "json-file",
|
||||
Description: "The logging driver to use for the container.",
|
||||
Computed: true,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue