Gateway base path mapping resource not found

Hello all. I’m trying to invoke a lambda through apigateway. The AWS resources are being hosted in localstack. I’m trying to create a aws_api_gateway_base_path_mapping resource and I’m getting this error when I run terraform apply:

│ Error: Error reading Gateway base path mapping: : Not found: %28none%29
│       status code: 404, request id:
│   with aws_api_gateway_base_path_mapping.domain,
│   on line 159, in resource "aws_api_gateway_base_path_mapping" "domain":
│  159: resource "aws_api_gateway_base_path_mapping" "domain" {

Here is my base path mapping resource:

resource "aws_api_gateway_base_path_mapping" "domain" {                                                                                    
    depends_on = [                                                                                                                         
    api_id =                                                                                         
    domain_name = aws_api_gateway_domain_name.domain.domain_name                                                                           
    stage_name = aws_api_gateway_stage.test_stage.stage_name                                                                               

Here is the aws_lambda_permission resource:

resource "aws_lambda_permission" "notes_lambda_permission" {                                                                               
  statement_id  = "AllowAPIGatewayInvoke"                                                                                                  
  action        = "lambda:InvokeFunction"                                                                                                  
  function_name = aws_lambda_function.notes_lambda.function_name                                                                           
  principal = ""                                                                                                   
  source_arn = "arn:aws:execute-api:us-west-2:000000000000:${}/test/*/*"                              

Any help would be appreciated!

I have the same issue. @kalamity-linden have you found a solution?