Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workers are all in one availability zone #195

Open
nkhine opened this issue Jun 25, 2017 · 3 comments
Open

workers are all in one availability zone #195

nkhine opened this issue Jun 25, 2017 · 3 comments

Comments

@nkhine
Copy link
Contributor

nkhine commented Jun 25, 2017

setting up the latest tack cluster it seems the workers are all created in one availability zone!

screenshot from 2017-06-25 08-37-55

how do i spread these?

@bruj0
Copy link
Contributor

bruj0 commented Jun 25, 2017

Something like this:

modules/worker/ec2.tf
@@ -1,4 +1,5 @@
 resource "aws_launch_configuration" "worker" {
+   availability_zones        = ["us-east-1a", "us-east-1b", "us-east-1c"]
   ebs_block_device {
     device_name = "/dev/xvdf"
     volume_size = "${ var.volume_size["ebs"] }"

More info: https://www.terraform.io/docs/providers/aws/d/availability_zones.html

@cemo
Copy link

cemo commented Jun 25, 2017

@nkhine
Copy link
Contributor Author

nkhine commented Jun 25, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants