Skip to content

Commit a4e933c

Browse files
Merge pull request openshift#6184 from r4f4/aws-secret-regions
OCPBUGS-13636: new Aws secret regions support
2 parents 79132e0 + 6012c3c commit a4e933c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/aws/validation/machinepool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func ValidateAMIID(platform *aws.Platform, p *aws.MachinePool, fldPath *field.Pa
106106

107107
// regions is a list of regions for which the user should set AMI ID as copying the AMI to these regions
108108
// is known to not be supported.
109-
regions := sets.NewString("us-iso-east-1", "cn-north-1", "cn-northwest-1")
109+
regions := sets.NewString("us-iso-east-1", "us-isob-east-1", "us-iso-west-1", "cn-north-1", "cn-northwest-1")
110110
if pool.AMIID == "" && regions.Has(platform.Region) {
111111
allErrs = append(allErrs, field.Required(fldPath, fmt.Sprintf("AMI ID must be provided for regions %s", strings.Join(regions.List(), ", "))))
112112
}

0 commit comments

Comments
 (0)