Actually, it is only broke for deploying lambdas.  You can also work around it by using the previous providor:


```
terraform {
  required_providers {
    aws = "<= 3.16.0"
  }
}
```

The reason it broke is it using the new aws feature for code signing lambdas.  Those new APIs are not implemented or mocked in a reasonable way in localstack.

Is there a plan to mock or implement those APIs?



┆Issue is synchronized with this [Jira Bug](https://localstack.atlassian.net/browse/LOC-347) by [Unito](https://www.unito.io/learn-more)

""" Delete an existing function
        ---
        operationId: 'deleteFunction'
        parameters:
            - name: 'request'
              in: body
    """
    arn = func_arn(function)
    
    LAMBDA_EXECUTOR.cleanup(arn)
    try:
        ARN_TO_LAMBDA.pop(arn)
    except KeyError:
        return not_found_error(func_arn(function))
    event_publisher.fire_event(event_publisher.EVENT_LAMBDA_DELETE_FUNC,
        payload={'n': event_publisher.get_hash(function)})
    i = 0
    while i < len(EVENT_SOURCE_MAPPINGS):
        mapping = EVENT_SOURCE_MAPPINGS[i]
        if mapping['FunctionArn'] == arn:
            del EVENT_SOURCE_MAPPINGS[i]
            i -= 1
        i += 1
    result = {}
    return jsonify(result)
@app.route('%s/functions/<function>/code' % PATH_ROOT, methods=['PUT'])
def update_function_code(function):