thojkooi / terraform-digitalocean-docker-swarm-mode

Terraform module for provisioning a Docker Swarm mode cluster on DigitalOcean
https://registry.terraform.io/modules/thojkooi/docker-swarm-mode/digitalocean
MIT License
62 stars 27 forks source link

Connection timeout #25

Closed opichon closed 6 years ago

opichon commented 6 years ago

I've added a variable named connection_timeout with a default value of 2m.

Rationale: we are installing docker ce via the user_data var. This can take up to several minutes more than the 2m timeout that was hard-coded in the modules. Then terraform keeps spinning without end.

By configuring the connection timeout via a variable, users can set it to whatever value works for them.

thojkooi commented 6 years ago

Thanks @opichon 👍