### 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
_params.update(param)
                else:
                    _params[param] = param
            params = _params
        params = dict(params)
        
        for param_key, prop_keys in dict(params).items():
            params.pop(param_key, None)
            if not isinstance(prop_keys, list):
                prop_keys = [prop_keys]
            for prop_key in prop_keys:
                if callable(prop_key):
                    prop_value = prop_key(
                        account_id_,
                        region_name_,
                        resource_props,
                        resource_id,
                        resource_definition,
                        stack_name,
                    )
                else:
                    prop_value = resource_props.get(
                        prop_key,
                        resource_definition.get(
                            prop_key,
                            resource_state.get(prop_key, last_deployed_state.get(prop_key)),
                        ),
                    )
                if prop_value is not None:
                    params[param_key] = prop_value