With the following serverless.yml file:
```yml
service: localtest

provider:
  name: aws
  runtime: nodejs10.x

functions:
  hello:
    handler: handler.hello
    events:
    - stream:
        type: dynamodb
        arn:
          Fn::GetAtt: [fooTable, StreamArn]

resources:
  Resources:
    fooTable:
      Type: AWS::DynamoDB::Table
      Properties:
        TableName: fooTable
        AttributeDefinitions:
          - AttributeName: foo
            AttributeType: S
        KeySchema:
          - AttributeName: foo
            KeyType: HASH
        ProvisionedThroughput:
          ReadCapacityUnits: 1
          WriteCapacityUnits: 1
        StreamSpecification:
          StreamViewType: NEW_AND_OLD_IMAGES

plugins:
- "serverless-localstack"

custom:
  localstack:
    stages:
      - "local"
```
It fails with a generic error (500) on the deployment end and with `:ERROR:localstack.services.cloudformation.cloudformation_starter: Unable to parse and create resource "HelloEventSourceMappingDynamodbFooTable": 'NoneType' object has no attribute 'function_arn'` on the localstack end.
It deploys fine to AWS.
elif isinstance(resource, apigw_models.Resource):
            api_id = props['RestApiId']
            backend.apis[api_id].resources.pop(resource.id, None)
            backend.apis[api_id].resources[new_id] = resource
            resource.id = new_id
        elif isinstance(resource, apigw_models.Deployment):
            api_id = props['RestApiId']
            backend.apis[api_id].deployments.pop(resource['id'], None)
            backend.apis[api_id].deployments[new_id] = resource
            resource['id'] = new_id
        else:
            LOG.warning('Unexpected resource type when updating ID: %s' % type(resource))
    def update_physical_resource_id(resource):
        phys_res_id = getattr(resource, 'physical_resource_id', None)
        if not phys_res_id:
            if isinstance(resource, lambda_models.LambdaFunction):
                func_arn = aws_stack.lambda_function_arn(resource.function_name)
                resource.function_arn = resource.physical_resource_id = func_arn
            elif isinstance(resource, sfn_models.StateMachine):
                sm_arn = aws_stack.state_machine_arn(resource.name)
                resource.physical_resource_id = sm_arn
            elif isinstance(resource, service_models.StepFunctionsActivity):
                act_arn = aws_stack.stepfunctions_activity_arn(resource.params.get('Name'))
                resource.physical_resource_id = act_arn
            else:
                LOG.warning('Unable to determine physical_resource_id for resource %s' % type(resource))
    parse_and_create_resource_orig = parsing.parse_and_create_resource
    parsing.parse_and_create_resource = parse_and_create_resource
    
    def parse_output(output_logical_id, output_json, resources_map):