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

Add new zones to AWS #1157

Merged
merged 2 commits into from
Dec 15, 2021
Merged

Add new zones to AWS #1157

merged 2 commits into from
Dec 15, 2021

Conversation

bathina2
Copy link
Contributor

Change Overview

The following PR add the new missing zones to AWS.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@bathina2 bathina2 added the kueue label Dec 14, 2021
@@ -736,6 +736,9 @@ func staticRegionToZones(region string) ([]string, error) {
"eu-central-1a",
"eu-central-1b",
"eu-central-1c",
"eu-central-1-wl1-ber-wlz-1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an interesting naming scheme.
Is there an official documentation link for these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The names are defined by AWS. We call the list regions API and these are the values it provides.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what the AWS CLI spews out:

aws ec2 describe-availability-zones --region eu-central-1 |jq .AvailabilityZones[].ZoneName

"eu-central-1a"
"eu-central-1b"
"eu-central-1c"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julio-lopez The result varies by the credentials I think. Another reason why this should be dynamic.

Copy link
Contributor

@julio-lopez julio-lopez Dec 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

x-references:

aws ec2 describe-availability-zones --all-availability-zones --region eu-central-1 |jq .AvailabilityZones[].ZoneName
"eu-central-1a"
"eu-central-1b"
"eu-central-1c"
"eu-central-1-wl1-ber-wlz-1"
"eu-central-1-wl1-dtm-wlz-1"
"eu-central-1-wl1-muc-wlz-1"

@mergify mergify bot merged commit 0416308 into master Dec 15, 2021
@mergify mergify bot deleted the K10-9095 branch December 15, 2021 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants