Open tomalok opened 5 years ago
Shouldn't be much parsing logic, but I need to check if changing the int
to a string
would be a BC or if it's handled internally as interface{}
and it does not matter...
You might be able to utilize https://github.com/docker/go-connections/blob/fcb221ce27f4dd4e7ab3c4ad5f6178ec95b4a7a4/nat/nat.go#L62
You can see it in use here: https://github.com/docker/go-connections/blob/fcb221ce27f4dd4e7ab3c4ad5f6178ec95b4a7a4/nat/nat.go#L193-L204
Terraform Version
Terraform v0.12.16
Affected Resource(s)
docker_container
docker_service
Terraform Configuration Files
Expected Behavior
The Docker provider should accept the string specifying a range of ports, which Docker itself has supported since v1.5 or thereabouts.
Actual Behavior