I'm not aware of a method to pass input to stdin. However I'm sure there is a way to make that command work without requiring input. Check out this create-cluster script from Redis: http://download.redis.io/redis-stable/utils/create-cluster/create-cluster
It is using the command `redis-cli --cluster create $HOSTS --cluster-replicas $REPLICAS` to create the cluster. Adding those options with the correct values may allow the command to run unattended.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/f7ed8472-6173-4cc9-be89-705dd4cfceac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.