Skip to content

Commit c09d620

Browse files
authored
Add more AWS regions (#96)
* Add more AWS regions * Remove confiting regions
1 parent 08440a2 commit c09d620

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

iterative/aws/provider.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,25 @@ func awsClient(region string) (*ec2.EC2, error) {
336336
}
337337

338338
//ImageRegions provider available image regions
339-
var ImageRegions = []string{"us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-north-1", "eu-west-1", "eu-west-2"}
339+
var ImageRegions = []string{
340+
"us-east-2",
341+
"us-east-1",
342+
"us-west-1",
343+
"us-west-2",
344+
"ap-south-1",
345+
"ap-northeast-3",
346+
"ap-northeast-2",
347+
"ap-southeast-1",
348+
"ap-southeast-2",
349+
"ap-northeast-1",
350+
"ca-central-1",
351+
"eu-central-1",
352+
"eu-west-1",
353+
"eu-west-2",
354+
"eu-west-3",
355+
"eu-north-1",
356+
"sa-east-1",
357+
}
340358

341359
func getRegion(region string) string {
342360
instanceRegions := make(map[string]string)

0 commit comments

Comments
 (0)