replace method that was erroneously removed
@@ -2056,3 +2056,8 @@ func (aws *AWS) ServiceAccountStatus() *ServiceAccountStatus {
func (aws *AWS) CombinedDiscountForNode(instanceType string, isPreemptible bool, defaultDiscount, negotiatedDiscount float64) float64 {
return 1.0 - ((1.0 - defaultDiscount) * (1.0 - negotiatedDiscount))
}
+
+// Regions returns a predefined list of AWS regions
+func (aws *AWS) Regions() []string {
+ return awsRegions
+}