From 5d6655a7eed858caf90cbff6bcea2e18e13d38d7 Mon Sep 17 00:00:00 2001 From: djkiourtsis Date: Thu, 26 Apr 2018 15:30:33 -0400 Subject: [PATCH] Add gocloud backend to lambda backends Boto does does not include the govcloud backends when displaying lambda regions. In order to test lambda with a govcloud region, the region must be explicitly added. --- moto/awslambda/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moto/awslambda/models.py b/moto/awslambda/models.py index 80b4ffba3..d49df81c7 100644 --- a/moto/awslambda/models.py +++ b/moto/awslambda/models.py @@ -675,3 +675,4 @@ lambda_backends = {_region.name: LambdaBackend(_region.name) for _region in boto.awslambda.regions()} lambda_backends['ap-southeast-2'] = LambdaBackend('ap-southeast-2') +lambda_backends['us-gov-west-1'] = LambdaBackend('us-gov-west-1')