From 45128723542e230e82e900163414a0aad0c98417 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Wed, 11 Dec 2019 15:03:46 -0800 Subject: [PATCH] Batch: job definitions default to ACTIVE --- moto/batch/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/batch/models.py b/moto/batch/models.py index ab52db54c..4bea21b41 100644 --- a/moto/batch/models.py +++ b/moto/batch/models.py @@ -182,7 +182,7 @@ class JobDefinition(BaseModel): self._region = region_name self.container_properties = container_properties self.arn = None - self.status = "INACTIVE" + self.status = "ACTIVE" if parameters is None: parameters = {}