### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

After the initial `cdklocal deploy` run, after any change has happened, Localstack will not be able to locate the created SQS queue and will delete it.
![Screenshot 2023-12-08 at 10 16 15](https://github.com/localstack/localstack/assets/16351444/f7a29aa3-43f9-41b2-bba1-c71b1fbc2d8b)


### Expected Behavior

No error when adding changes after having provisioned SQS queue

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

How to replicate:
1. In an empty folder initialise a new CDK project using `cdklocal init -l python`
2. Substitute the `..._stack.py` file with.
```
from aws_cdk import Duration, Stack, aws_sqs as sqs, aws_s3 as s3
from constructs import Construct


class LocalstackTestStack(Stack):
    def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        # The code that defines your stack goes here

        # example resource
        queue = sqs.Queue(
            self,
            "LocalstackTestQueue",
            visibility_timeout=Duration.seconds(300),
        )
```
3. Run `cdklocal bootstrap`and `cdklocal deploy`.
4. Make any "significant" change in ..._stack.py file. For example add a bucket.
```
from aws_cdk import Duration, Stack, aws_sqs as sqs, aws_s3 as s3
from constructs import Construct


class LocalstackTestStack(Stack):
    def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        # The code that defines your stack goes here

        # example resource
        queue = sqs.Queue(
            self,
            "LocalstackTestQueue",
            visibility_timeout=Duration.seconds(300),
        )

        self.input_bucket = s3.Bucket(
            self,
            "input_bucket",
            block_public_access=s3.BlockPublicAccess.BLOCK_ALL,
        )
```
5. Run `cdklocal deploy`. This will throw the error.


### Environment

```markdown
- OS: macOS Sonoma Version 14.1.1
- LocalStack:

> cdklocal --version
2.114.1 (build 02bbb1d)

>localstack --version
3.0.2
```
```


### Anything else?

![Screenshot 2023-12-08 at 10 21 44](https://github.com/localstack/localstack/assets/16351444/e9960a4e-6c39-4827-9550-b71606125a77)
![Screenshot 2023-12-08 at 10 21 59](https://github.com/localstack/localstack/assets/16351444/7f2e67a1-4d27-482f-8dae-8263f8e7d63d)

`localstack config show` output
self, raw_payload: ResourceProviderPayload, max_iterations: int = 30, sleep_time: float = 5
    ) -> ProgressEvent[Properties]:
        payload = copy.deepcopy(raw_payload)
        for current_iteration in range(max_iterations):
            resource_type = get_resource_type(
                {"Type": raw_payload["resourceType"]}
            )  
            try:
                resource_provider = self.load_resource_provider(resource_type)
                logical_resource_id = raw_payload["requestData"]["logicalResourceId"]
                resource = self.resources[logical_resource_id]
                resource["SpecifiedProperties"] = raw_payload["requestData"]["resourceProperties"]
                event = self.execute_action(resource_provider, payload)
                if event.status == OperationStatus.FAILED:
                    return event
                if event.status == OperationStatus.SUCCESS:
                    if not isinstance(resource_provider, LegacyResourceProvider):
                        
                        
                        if isinstance(resource_provider, LegacyResourceProvider):
                            raise Exception(
                                "A GenericBaseModel should always have a PhysicalResourceId set after deployment"
                            )
                        if not hasattr(resource_provider, "SCHEMA"):
                            raise Exception(
                                "A ResourceProvider should always have a SCHEMA property defined."
                            )
                        resource_type_schema = resource_provider.SCHEMA
                        physical_resource_id = (
                            self.extract_physical_resource_id_from_model_with_schema(