terraform-provider-docker icon indicating copy to clipboard operation
terraform-provider-docker copied to clipboard

Support for service config rotation

Open tetofonta opened this issue 3 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Docker service configs rotation is described in the official wiki with the following checklist:

  • Deploy the service with the corresponding configs (e.g. application_conf)
  • Update the config file
  • Create a new docker config from the updated file (application_conf_v2)
  • Update the service removing the old config (application_conf) and adding the new one (application_conf_v2)

When updating a config file and re-applying the configuration, terraform throws an error because it tries to remove a config associated with a service. this makes the need of doing this procedure manually.

New or Affected Resource(s)

  • docker_config
  • docker_service (?)

Potential Terraform Configuration

Not changed.

References

tetofonta avatar Jun 07 '22 20:06 tetofonta