moto 4.2.4.dev7__py2.py3-none-any.whl → 4.2.4.dev12__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- moto/__init__.py +1 -1
- moto/ecs/models.py +8 -0
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/METADATA +1 -1
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/RECORD +9 -9
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/AUTHORS.md +0 -0
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/LICENSE +0 -0
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/WHEEL +0 -0
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/entry_points.txt +0 -0
- {moto-4.2.4.dev7.dist-info → moto-4.2.4.dev12.dist-info}/top_level.txt +0 -0
moto/__init__.py
CHANGED
moto/ecs/models.py
CHANGED
|
@@ -1138,6 +1138,14 @@ class EC2ContainerServiceBackend(BaseBackend):
|
|
|
1138
1138
|
pid_mode: Optional[str] = None,
|
|
1139
1139
|
ephemeral_storage: Optional[Dict[str, int]] = None,
|
|
1140
1140
|
) -> TaskDefinition:
|
|
1141
|
+
|
|
1142
|
+
if requires_compatibilities and "FARGATE" in requires_compatibilities:
|
|
1143
|
+
# TODO need more validation for Fargate
|
|
1144
|
+
if pid_mode and pid_mode != "task":
|
|
1145
|
+
raise EcsClientException(
|
|
1146
|
+
f"Tasks using the Fargate launch type do not support pidMode '{pid_mode}'. The supported value for pidMode is 'task'."
|
|
1147
|
+
)
|
|
1148
|
+
|
|
1141
1149
|
if family in self.task_definitions:
|
|
1142
1150
|
last_id = self._get_last_task_definition_revision_id(family)
|
|
1143
1151
|
revision = (last_id or 0) + 1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
moto/__init__.py,sha256=
|
|
1
|
+
moto/__init__.py,sha256=hXnCAw-W8_4DxFPYD_2OGbWvQuY65pYExZPpzRFJVy4,9689
|
|
2
2
|
moto/backend_index.py,sha256=JDpbrcbt5e30v7D8c5IsxbqIDUXTvm4OuClX6V81cJU,10707
|
|
3
3
|
moto/backends.py,sha256=rC9WUMUUWmVmX7ZEfXpVKAQAw6oI8qYobCEPxP2Zv9U,1805
|
|
4
4
|
moto/server.py,sha256=cp8kIe5jVOm7Z2BlNN2AMbTfrRvLBEKSb4mt7O8nu34,2858
|
|
@@ -465,7 +465,7 @@ moto/ecr/responses.py,sha256=_QRP-cE_3VWyZa2ycW5Wk62ZhFdFTRko8dWdibaH740,11254
|
|
|
465
465
|
moto/ecr/urls.py,sha256=Jopdpj_R-YoiQEnju0JOMGr0KSngapSG4AEWuvn4d4o,188
|
|
466
466
|
moto/ecs/__init__.py,sha256=Vlgmm7cgwuTSh_q6-SutCLYBzQMzrDK_JbdnDCERnuA,155
|
|
467
467
|
moto/ecs/exceptions.py,sha256=iUACENQnDUxlQFF_gVX3FsUJrhOWOwRVWNxjUTL6gWc,1814
|
|
468
|
-
moto/ecs/models.py,sha256=
|
|
468
|
+
moto/ecs/models.py,sha256=pmOKxKjdPI9Fel-o893m5Ww9sXfIlvVrTeoleMlrVqg,87697
|
|
469
469
|
moto/ecs/responses.py,sha256=5aY9odPSqiTZsuaRwbSNGpoCp-nz1ApHx0_l1BFmBxM,22481
|
|
470
470
|
moto/ecs/urls.py,sha256=5N3PY2YL5Jeqsyk6oxMJmD87U3McmUVM654oguR7GEA,165
|
|
471
471
|
moto/efs/__init__.py,sha256=bbbQXziyIlZuVWEGHRtTJ9MmVMx7BGRNH514kxqMs0w,155
|
|
@@ -1034,10 +1034,10 @@ moto/xray/mock_client.py,sha256=nYl8JVJbl3OY-tnUafkVOG4K4-cFm5bsft3Hxo7fKwI,3809
|
|
|
1034
1034
|
moto/xray/models.py,sha256=0QL6nmhpVVwAiyi9aw4pBwVTRhqPW9oIy2uwPDhPKug,11179
|
|
1035
1035
|
moto/xray/responses.py,sha256=p2xsg2-P9h_1DCyuBC7GenmC5L64tXAX6a-XCb2j5-o,6316
|
|
1036
1036
|
moto/xray/urls.py,sha256=R6T3gMwobWipukWcC1DQ36CU1Rjt6oqBDoe-7HqaIZU,393
|
|
1037
|
-
moto-4.2.4.
|
|
1038
|
-
moto-4.2.4.
|
|
1039
|
-
moto-4.2.4.
|
|
1040
|
-
moto-4.2.4.
|
|
1041
|
-
moto-4.2.4.
|
|
1042
|
-
moto-4.2.4.
|
|
1043
|
-
moto-4.2.4.
|
|
1037
|
+
moto-4.2.4.dev12.dist-info/AUTHORS.md,sha256=dDUhasV8HGSkzb7zj7a0b3alnqY0P1LPOyOUNoo8Mpo,2976
|
|
1038
|
+
moto-4.2.4.dev12.dist-info/LICENSE,sha256=8S75_TlqE-kIeGMLG0-rRxxu2ct6SM8quyUWKBYyIY4,10834
|
|
1039
|
+
moto-4.2.4.dev12.dist-info/METADATA,sha256=HwohSN9wWO-wiMOT5lLvpI1cc6RjhGNlzdzPNDfHFlY,12102
|
|
1040
|
+
moto-4.2.4.dev12.dist-info/WHEEL,sha256=iYlv5fX357PQyRT2o6tw1bN-YcKFFHKqB_LwHO5wP-g,110
|
|
1041
|
+
moto-4.2.4.dev12.dist-info/entry_points.txt,sha256=aPovbZuFXCwt8_m2vcolpH4Qr3rOF3yXeRElP9Zkauo,49
|
|
1042
|
+
moto-4.2.4.dev12.dist-info/top_level.txt,sha256=TETRKAPcAAvoZDkSkwQiZtTSr-1gzaEAXVm9FmZKj8s,5
|
|
1043
|
+
moto-4.2.4.dev12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|