DOCS
- update documentation and website for the release which was forgotten in
v2.12.1
BUG FIXES
resource.docker_service.task_spec.container_spec.hosts
is ignored (#202)- service state upgradeV2 crashes for empty
auth
block (#203)
IMPROVEMENTS
- migrate to terraform-sdk-v2 (#102)
- support darwin arm builds and golang 1.16 (#140)
- add documentation generation (#193)
BUG FIXES
- set
ForceNew
:true
to labelSchema (#152) - search local images with Docker image ID (#151)
- update module github.com/golangci/golangci-lint to v1.39.0 (#166)
- update module github.com/katbyte/terrafmt to v0.3.0 (#168)
- update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.5.0 (#167)
- update module github.com/docker/docker to v20.10.5 (#165)
- update module github.com/docker/cli to v20.10.5 (#164)
- update module github.com/docker/docker to v20.10.6 (#174)
- update module github.com/docker/cli to v20.10.6 (#175)
- move helpers (#170)
- assign map to
rawState
when it is nil to preventpanic
(#180) - remove gpg key from action to make it work in forks
- skip sign on
compile
action - update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.6.1 (#181)
- replace for loops with StateChangeConf (#182)
- update module github.com/golangci/golangci-lint to v1.40.0 (#191)
- test spaces for windows (#190)
- rewriting tar header fields (#198)
DOCS
- fix Github repository URL in README (#136)
- chore: add the guide about Terraform Configuration in Bug Report (#139)
- add a guide about writing issues to CONTRIBUTING.md (#149)
- add an example to build an image with docker_image (#158)
- format Guide of Bug report (#159)
- add releasing steps
CI
- bump docker dependency to v20.10.5 (#119). Note: Removes
generic_resources
fordocker_service
. - run acceptance tests with multiple Terraform versions (#129)
- fix/workflows (#169)
CHORE
IMPROVEMENTS:
- add properties -it (tty and stdin_opn) to docker container (#120)
DOCS
- fix legacy configuration style (#126)
IMPROVEMENTS:
- add ability to lint/check of links in documentation locally (#98)
- add local semantic commit validation (#99)
- add force_remove option to
r/image
(#104) - support max replicas of Docker Service Task Spec (#112)
- supports Docker plugin (#35)
DOCS:
- updates docs like gh templates, contribution guideline and readme (#36)
- updates links to provider and slack
- docs(changelog): fixes broken links
- style(changelog): aligns braces
- add labels to arguments of docker_service (#105)
BUG FIXES
- image label for workflows
- set "latest" to tag when tag isn't specified (#117)
CI
- ci: update ubuntu images and docker version (#38)
IMPROVEMENTS
- Introduces golangci-lint (#13)
BUG FIXES
- docs: devices is a block, not a boolean (#33)
- style: format with gofumpt (#11)
- ci: fix website ci (#26)
- fix: AuxAddress is not read from network and trigger a re-apply every time (#10)
IMPROVEMENTS
- Add new resource docker_registry_image (#249)
- Added complete support for Docker credential helpers (#253)
BUG FIXES
- Prevent provider error if auth config is incomplete (#251)
- Resolve (#255 by conditionally adding port binding (#293)
DOCS
- Update service.html.markdown (#245)
- Documentation updates (#286)
- Update link syntax (#287)
- Fix typo (#292)
CI
- Update to go 1.15 (#284)
BUG FIXES
- Fix port objects with the same internal port but different protocol trigger recreation of container (#274)
- Fix panic to migrate schema of docker_container from v1 to v2 (#271)
- Set
Computed: true
and separate files of resourceDockerContainerV1 (#272) - Prevent force recreate of container about some attributes (#269)
DOCS:
BUG FIXES
- prevent force recreate of container about some attributes (#269)
IMPROVEMENTS:
- support to import some docker_container's attributes (#234)
- make UID, GID, & mode for Docker secrets and configs configurable (#231)
BUG FIXES:
- Allow use of
source
file instead of content / content_base64 (#240) - Correct IPAM config read on the data provider (#229)
published_port
is not correctly populated on docker_service resource (#222)- Registry Config File MUST be a file reference (#224)
- Allow zero replicas (#220)
- fixing the label schema for HCL2 (#217)
DOCS:
- Update documentation to reflect changes in TF v12 (#228)
CI:
- bumps docker
19.03
and ubuntubionic
(#241)
IMPROVEMENTS:
DOCS
- corrects mounts block name in docs (#218)
IMPROVEMENTS:
BUG FIXES:
- fix: removes whitelists of attributes (#208)
- fix: splunk Log Driver missing from container
log_driver
(#204)
IMPROVEMENTS:
- feat: adds
shm_size attribute
fordocker_container
resource (#164) - feat: supports for group-add (#191)
BUG FIXES:
- fix: binary upload as base 64 content (#48)
- fix: service env truncation for multiple delimiters (#121)
- fix: allows docker_registry_image to read from AWS ECR registry (#186)
DOCS
- Removes duplicate
start_period
entry inhealthcheck
section of the documentation fordocker_service
(#189)
IMPROVEMENTS:
- feat: adds container ipc mode (#12)
- feat: adds container working dir (#146)
- remove usage of config pkg (#183)
BUG FIXES:
- fix for destroy_grace_seconds is not adhered (#174)
IMPROVEMENTS
- Docker client negotiates the version with the server instead of using a fixed version (#173)
DOCS
- Fixes section links so they point to the right id (#176)
BUG FIXES
- Fixes 'No changes' for containers when all port blocks have been removed (#167)
IMPROVEMENTS
- Adds cross-platform support for generic Docker credential helper (#159)
DOC
- Updates the docs for ssh protocol and mounts (#158)
- Fixes website typo / containers / mount vs mounts (#162)
BREAKING CHANGES
IMPROVEMENTS
IMPROVEMENTS
- Updates to docker
18.09
and API Version1.39
(#114) - Upgrades to go
1.11
(#116) - Switches to
go modules
(#124) - Adds data source for networks (#84)
- Adds
ssh
protocol support (#153) - Adds docker container mounts support (#147)
BUG FIXES
- Fixes image pulling and local registry connections (#143)
BUG FIXES
- Fixes no more 'force new resource' for container ports when there are no changes. This was caused to the ascending order. See (#110) for details and (#115)
- Normalize blank port IP's to 0.0.0.0 (#128)
BUILD
DOCS
- Corrects
networks_advanced
section (#109) - Corrects
tmpfs_options
section (#122) - Corrects indentation for container in docs (#126)
- Fix syntax error in docker_service example and make all examples adhere to terraform fmt (#137)
IMPROVEMENTS
- Adds labels for
network
,volume
andsecret
to support docker stacks. (#92) - Adds
rm
andattach
options to execute short-lived containers (#43] and [#106) - Adds container healthcheck(#93)
- Adds the docker container start flag (#62] and [#94)
- Adds
cpu_set
to docker container (#41) - Simplifies the image options parser and adds missing registry combinations (#49)
- Adds container static IPv4/IPv6 address. Marks network and network_alias as deprecated. (#105)
- Adds container logs option (#108)
BUG FIXES
- Fixes that new network were appended to the default bridge (#10)
- Fixes that container resource returns a non-existent IP address (#36)
- Fixes container's ip_address is empty when using custom network (#9] and [#50)
- Fixes terraform destroy failing to remove a bridge network (#98] and [#50)
BUG FIXES
IMPROVEMENTS
- Add support for running tests on Windows [#54] and (#90)
- Add options for PID and user namespace mode [#88] and (#96)
BUG FIXES
- Fixes issue with internal and external ports on containers [#8] and (#89)
- Fixes
tfstate
having correct external port for containers [#73] and (#95) - Fixes that a
docker_image
can be pulled with its SHA256 tag/repo digest [#79] and (#97)
BUG FIXES
- Fixes connection via TLS to docker host with file contents (#86)
- Skips TLS verification if
ca_material
is not set (#14)
BUG FIXES
- Fixes empty strings on mapping from map to slice causes (#81)
NOTES:
- Update
go-dockerclient
tobf3bc17bb
(#46) - The
links
property onresource_docker_container
is now marked as deprecated (#47)
FEATURES:
- Add
swarm
capabilities (#29, #40 which fixes #66 up to Docker18.03.1
and API Version1.37
(#64) - Add ability to upload executable files #55
- Add support to attach devices to containers #30, #54
- Add Ulimits to containers #35
IMPROVEMENTS:
- Fix
travis
build with a fixed docker version #57 - Infrastructure for Acceptance tests #39
- Internal refactorings #38
- Allow the awslogs log driver #28
- Add prefix
library
only to official images in the path #27
BUG FIXES
- Update documentation for private registries (#45)
FEATURES:
- Support for pulling images from private registries #21
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout