-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
pkg/types/aws/validation: Require machine-pool zones in platform region #1469
pkg/types/aws/validation: Require machine-pool zones in platform region #1469
Conversation
CC @staebler |
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just one nit.
In the excitement of a zone outage, this one bit me [1], leading to errors like [2]: ERROR * module.masters.aws_network_interface.master[1]: key "us-east-1c" does not exist in map var.az_to_subnet_id in: ERROR ERROR ${var.az_to_subnet_id[var.availability_zones[count.index]]} ERROR * module.masters.aws_network_interface.master[2]: key "us-east-1d" does not exist in map var.az_to_subnet_id in: ERROR ERROR ${var.az_to_subnet_id[var.availability_zones[count.index]]} ERROR * module.masters.aws_network_interface.master[0]: key "us-east-1a" does not exist in map var.az_to_subnet_id in: ERROR ERROR ${var.az_to_subnet_id[var.availability_zones[count.index]]} ERROR * module.bootstrap.var.subnet_id: key "us-east-1a" does not exist in map module.vpc.az_to_public_subnet_id in: ERROR ERROR ${module.vpc.az_to_public_subnet_id[var.aws_master_availability_zones[0]]} With this commit, we require zones in the configured region before getting into Terraform, and we describe the mismatch with words that are hopefully more obvious to jumpy users ;). [1]: openshift/release#3204 (comment) [2]: openshift/release#3204 (comment)
00d5501
to
f25961d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, staebler, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
In the excitement of a zone outage, this one bit me, leading to errors like:
With this commit, we require zones in the configured region before getting into Terraform, and we describe the mismatch with words that are hopefully more obvious to jumpy users ;).