It can be deployed normally on AWS

![image](https://user-images.githubusercontent.com/38454210/78279329-f1528180-7549-11ea-8aec-ba9620a16609.png)

![image](https://user-images.githubusercontent.com/38454210/78279477-25c63d80-754a-11ea-92bc-313e7950424c.png)


import re
import os
import json
import yaml
import logging
import traceback
import moto.cloudformation.utils
from six import iteritems
from localstack.services.s3 import s3_listener
from localstack.services.awslambda.lambda_api import get_handler_file_from_name
from localstack.utils import common
from localstack.utils.aws import aws_stack
from localstack.utils.testutil import create_zip_file
ACTION_CREATE = 'create'
ACTION_DELETE = 'delete'
PLACEHOLDER_RESOURCE_NAME = '__resource_name__'
LOG = logging.getLogger(__name__)
UPDATEABLE_RESOURCES = ['Lambda::Function', 'ApiGateway::Method']
STATIC_REFS = ['AWS::Region', 'AWS::Partition', 'AWS::StackName']
NoDatesSafeLoader = yaml.SafeLoader
NoDatesSafeLoader.yaml_implicit_resolvers = {
    k: [r for r in v if r[0] != 'tag:yaml.org,2002:timestamp'] for
    k, v in NoDatesSafeLoader.yaml_implicit_resolvers.items()
}
def str_or_none(o):