Skip to content

Commit

Permalink
Merge pull request #804 from jonloza/Added-region_il-central-1
Browse files Browse the repository at this point in the history
Added Israel (Tel Aviv) - il-central-1, update AZs and updated schemas for new region
  • Loading branch information
andrew-glenn authored Aug 8, 2023
2 parents e24f9f3 + 47a43e9 commit 7a6ae64
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
4 changes: 2 additions & 2 deletions taskcat/_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class RegionField(FieldEncoder):
def json_schema(self):
return {
"type": "string",
"pattern": r"^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|"
"pattern": r"^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|"
r"west|southeast|southwest|northeast|northwest)-[0-9]$",
"description": "AWS Region name",
"examples": ["us-east-1"],
Expand Down Expand Up @@ -757,4 +757,4 @@ def merge(

config._source = merged_source
config._propogate_source() # pylint: disable=protected-access
return config
return config
14 changes: 7 additions & 7 deletions taskcat/cfg/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -83,7 +83,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -144,7 +144,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -276,7 +276,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -360,7 +360,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -444,7 +444,7 @@
"examples": [
"us-east-1"
],
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"pattern": "^(ap|eu|us|sa|ca|cn|af|me|il|us-gov)-(central|south|north|east|west|southeast|southwest|northeast|northwest)-[0-9]$",
"type": "string"
},
"type": "array"
Expand Down Expand Up @@ -556,4 +556,4 @@
}
},
"type": "object"
}
}
7 changes: 6 additions & 1 deletion taskcat/local_zones.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"apse1-az2",
"apse1-az3",
"apse1-bkk1-az1",
"apse1-mnl1-az1",
"apse2-akl1-az1",
"apse2-az1",
"apse2-az2",
"apse2-az3",
Expand Down Expand Up @@ -70,6 +72,9 @@
"euw3-az1",
"euw3-az2",
"euw3-az3",
"ilc1-az1",
"ilc1-az2",
"ilc1-az3",
"mec1-az1",
"mec1-az2",
"mec1-az3",
Expand Down Expand Up @@ -114,7 +119,7 @@
"usw2-lax1-az1",
"usw2-lax1-az2",
"usw2-pdx1-az1",
"usw2-phx1-az1",
"usw2-phx2-az1",
"usw2-sea1-az1"
]

6 changes: 5 additions & 1 deletion taskcat/regions_to_partitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"eu-west-1": "aws",
"eu-west-2": "aws",
"eu-west-3": "aws",
"il-central-1": "aws",
"me-central-1": "aws",
"me-south-1": "aws",
"sa-east-1": "aws",
Expand Down Expand Up @@ -57,6 +58,7 @@
"eu-west-1",
"eu-west-2",
"eu-west-3",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
Expand All @@ -79,5 +81,7 @@
],
"aws-iso-b": [
"us-isob-east-1"
]
],
"aws-iso-e": [],
"aws-iso-f": []
}

0 comments on commit 7a6ae64

Please sign in to comment.