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.
This commit is contained in:
djkiourtsis 2018-04-26 15:30:33 -04:00
parent 21a264c337
commit 5d6655a7ee

View File

@ -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')