Any bucket created through cloudformation will have `"LocationConstraint": null`, implying us-east-1, although in AWS CloudFormation the bucket's region will always match the template's region.
import re
import json
import yaml
import logging
import traceback
from six import iteritems
from six import string_types
from localstack.utils import common
from localstack.utils.aws import aws_stack
ACTION_CREATE = 'create'
PLACEHOLDER_RESOURCE_NAME = '__resource_name__'
LOG = logging.getLogger(__name__)
UPDATEABLE_RESOURCES = ['Lambda::Function', 'ApiGateway::Method']
def str_or_none(o):