Skip to content

Commit 5f79586

Browse files
authored
Merge pull request #56 from open-mpic/birgelee-additional-regions-version-bump
Birgelee additional regions version bump, core 5.5.3, self 1.0.4
2 parents ce51c72 + c34c19e commit 5f79586

6 files changed

Lines changed: 43 additions & 31 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The above sample must be run from the root directory of a deployed Open MPIC aws
4646
The API is compliant with the [Open MPIC Specification](https://github.com/open-mpic/open-mpic-specification).
4747

4848
There is [documentation based on the API specification used in this version]
49-
(https://open-mpic.org/documentation.html?commit=44c941d395430b022063b2e5353526ba07034771).
49+
(https://open-mpic.org/documentation.html?commit=e6e4272673edc064cf311a3935ec027eba2df8b7).
5050

5151
## Development
5252
Code changes can easily be deployed by editing the .py files and then rezipping the project via `./zip-all.sh` and `./2-package.sh` in the `layer` directory. Then, running `tofu apply` run from the open-tofu directory will update only on the required resources and leave the others unchanged. If any `.tf.template` files are changed or `config.yaml` is edited, `hatch run ./configure.py` must be rerun followed by `tofu apply` in the open-tofu directory.

aws-available-regions.yaml

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
aws-available-regions:
2-
- us-east-2
3-
- us-west-1
4-
- us-west-2
5-
- ap-south-1
6-
- ap-northeast-3
7-
- ap-northeast-2
8-
- ap-southeast-1
9-
- ap-southeast-2
10-
- ap-northeast-1
11-
- ca-central-1
12-
- eu-central-1
13-
- eu-west-1
14-
- eu-west-2
15-
- eu-west-3
16-
- eu-north-1
2+
- us-east-2
3+
- us-east-1
4+
- us-west-1
5+
- us-west-2
6+
- af-south-1
7+
- ap-east-1
8+
- ap-south-2
9+
- ap-southeast-3
10+
- ap-southeast-4
11+
- ap-south-1
12+
- ap-northeast-3
13+
- ap-northeast-2
14+
- ap-southeast-1
15+
- ap-southeast-2
16+
- ap-northeast-1
17+
- ca-central-1
18+
- ca-west-1
19+
- eu-central-1
20+
- eu-west-1
21+
- eu-west-2
22+
- eu-west-3
23+
- eu-south-2
24+
- eu-north-1
25+
- eu-central-2
26+
- il-central-1
27+
- me-central-1
28+
- sa-east-1

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dependencies = [
3333
"pydantic==2.10.6",
3434
"aiohttp==3.11.13",
3535
"aws-lambda-powertools[parser]==3.8.0",
36-
"open-mpic-core==5.5.1",
36+
"open-mpic-core==5.5.3",
3737
"aioboto3~=13.3.0",
3838
"black==24.8.0",
3939
]
@@ -56,7 +56,7 @@ Source = "https://github.com/open-mpic/aws-lambda-python"
5656
#virtual = ".hatch"
5757

5858
[tool.api]
59-
spec_version = "3.3.0"
59+
spec_version = "3.3.1"
6060
spec_repository = "https://github.com/open-mpic/open-mpic-specification"
6161

6262
[tool.hatch]

resources/aws_region_config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,57 +72,57 @@ aws_available_regions:
7272
-
7373
code: "eu-central-1"
7474
name: "Europe (Frankfurt)"
75-
rir: "ripe"
75+
rir: "ripe ncc"
7676
too_close_codes: ["eu-central-2"]
7777
-
7878
code: "eu-central-2"
7979
name: "Europe (Zurich)"
80-
rir: "ripe"
80+
rir: "ripe ncc"
8181
too_close_codes: ["eu-central-1", "eu-south-1"]
8282
-
8383
code: "eu-north-1"
8484
name: "Europe (Stockholm)"
85-
rir: "ripe"
85+
rir: "ripe ncc"
8686
too_close_codes: []
8787
-
8888
code: "eu-south-1"
8989
name: "Europe (Milan)"
90-
rir: "ripe"
90+
rir: "ripe ncc"
9191
too_close_codes: ["eu-central-2"]
9292
-
9393
code: "eu-south-2"
9494
name: "Europe (Spain)"
95-
rir: "ripe"
95+
rir: "ripe ncc"
9696
too_close_codes: []
9797
-
9898
code: "eu-west-1"
9999
name: "Europe (Ireland)"
100-
rir: "ripe"
100+
rir: "ripe ncc"
101101
too_close_codes: []
102102
-
103103
code: "eu-west-2"
104104
name: "Europe (London)"
105-
rir: "ripe"
105+
rir: "ripe ncc"
106106
too_close_codes: ["eu-west-3"]
107107
-
108108
code: "eu-west-3"
109109
name: "Europe (Paris)"
110-
rir: "ripe"
110+
rir: "ripe ncc"
111111
too_close_codes: ["eu-west-2"]
112112
-
113113
code: "il-central-1"
114114
name: "Israel (Tel Aviv)"
115-
rir: "ripe"
115+
rir: "ripe ncc"
116116
too_close_codes: []
117117
-
118118
code: "me-central-1"
119119
name: "Middle East (UAE)"
120-
rir: "ripe"
120+
rir: "ripe ncc"
121121
too_close_codes: ["me-south-1"]
122122
-
123123
code: "me-south-1"
124124
name: "Middle East (Bahrain)"
125-
rir: "ripe"
125+
rir: "ripe ncc"
126126
too_close_codes: ["me-central-1"]
127127
-
128128
code: "sa-east-1"

src/aws_lambda_mpic/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0"
1+
__version__ = "1.0.4"

tests/unit/aws_lambda_mpic/test_mpic_coordinator_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class Dummy(BaseModel):
109109

110110
with pytest.raises(LambdaExecutionException) as exc_info:
111111
await lambda_handler.call_remote_perspective(
112-
RemotePerspective(code="us-west-1", rir="dummy"), CheckType.DCV, Dummy()
112+
RemotePerspective(code="us-west-1", rir="arin"), CheckType.DCV, Dummy()
113113
)
114114
assert exc_info.value.args[0] == "Lambda execution error: {\"errorMessage\": \"some message\"}"
115115

0 commit comments

Comments
 (0)