diff --git a/moto/apigateway/models.py b/moto/apigateway/models.py index 387303d31..160b443b0 100644 --- a/moto/apigateway/models.py +++ b/moto/apigateway/models.py @@ -578,9 +578,6 @@ class APIGatewayBackend(BaseBackend): return {} - - - apigateway_backends = {} for region_name in Session().get_available_regions('apigateway'): apigateway_backends[region_name] = APIGatewayBackend(region_name) diff --git a/moto/elb/models.py b/moto/elb/models.py index 504c68908..8781620f1 100644 --- a/moto/elb/models.py +++ b/moto/elb/models.py @@ -268,7 +268,7 @@ class ELBBackend(BaseBackend): protocol = port['protocol'] instance_port = port['instance_port'] lb_port = port['load_balancer_port'] - ssl_certificate_id = port.get('sslcertificate_id') + ssl_certificate_id = port.get('ssl_certificate_id') for listener in balancer.listeners: if lb_port == listener.load_balancer_port: if protocol != listener.protocol: