Terraform-aws-eks: Creating eks cluster in multiple availability regions

Created on 26 Oct 2018  路  3Comments  路  Source: terraform-aws-modules/terraform-aws-eks

I have issues

I'd like to be able to create worker groups for multiple regions (run kubernetes in multiple availability zones). I'm not seeing any way to set region outside the aws region prompt coming direct from the provider. Is there an existing way to do this? Is there an easy way to add this (I'll gladly submit a pr)?

Also, thanks for a great module!

I'm submitting a...

  • [ ] bug report
  • [ ] feature request
  • [ X ] support request
  • [ X ] kudos, thank you, warm fuzzy

What is the current behavior?

AWS provider requests region, but that's the only place to specify. Guess there may also be something with the availability zones, but don't fully understand how that's used.

If this is a bug, how to reproduce? Please include a code sample if relevvant.

Not a bug so much as feature/support request.

What's the expected behavior?

Specifying multiple regions, or worker group regions would provide an aws eks cluster running in multiple availability zones.

Are you able to fix this problem and submit a PR? Link here if you have already.

Maybe, making sure I haven't missed something first.

Environment details

  • Affected module version:
  • OS:
  • Terraform version:

Any other relevant info

Most helpful comment

Works great, was just confusing regions and availability zones. ty for a great project!

All 3 comments

Hey @jimmiebtlr
Interesting feature request but can you clarify where you mean AZ and region? They are not interchangeable.

I'd like to be able to create worker groups for multiple regions

Sounds like a great idea!

(run kubernetes in multiple availability zones)

The ASG will already create instances in multiple AZs of the region.

uess there may also be something with the availability zones, but don't fully understand how that's used.

AZ or region?

I may be confused, I'll read up more and get back to you on this.

Works great, was just confusing regions and availability zones. ty for a great project!

Was this page helpful?
0 / 5 - 0 ratings