You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
702 B

  1. variable "name" {
  2. description = "The cluster name, e.g cdn"
  3. }
  4. variable "image_id" {
  5. description = "Image ID"
  6. default = "ubuntu-14-04-x64"
  7. }
  8. variable "regions" {
  9. description = "Regions to launch in"
  10. type = "list"
  11. default = ["AMS2", "FRA1", "LON1", "NYC2", "SFO2", "SGP1", "TOR1"]
  12. }
  13. variable "key_ids" {
  14. description = "SSH keys to use on the nodes"
  15. type = "list"
  16. }
  17. variable "instance_size" {
  18. description = "The instance size to use"
  19. default = "2gb"
  20. }
  21. variable "servers" {
  22. description = "Desired instance count"
  23. default = 4
  24. }
  25. variable "noroot" {
  26. description = "Set this variable to true, if you want SSH keys set for ec2-user instead of root."
  27. default = false
  28. }