### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When trying to create a stack with only a VPC and a TargetGroup, the deploy command fails with the following error:

`2022-03-14T14:28:13.883:WARNING:localstack.utils.cloudformation.template_deployer: Error calling <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.ElasticLoadBalancingv2 object at 0x7f8f4f3fa6a0>> with params: {'Name': 'dfsd', 'Protocol': 'HTTP', 'Port': '3000', 'VpcId': 'vpc-0336b473', 'TargetType': 'ip'} for resource: {'Type': 'AWS::ElasticLoadBalancingV2::TargetGroup', 'LogicalResourceId': 'targetGroup1', 'Properties': {'Name': 'dfsd', 'Port': '3000', 'Protocol': 'HTTP', 'TargetType': 'ip', 'VpcId': 'vpc-0336b473'}, '_state_': {}}`

### Expected Behavior

A working cloudformation template should be created

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

    TEST_AWS_ACCOUNT_ID="XXXX" LOCALSTACK_API_KEY=XXXX localstack start -d

#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

    awslocal cloudformation deploy --stack-name cfn-quickstart-stack --template-file "./cfn-quickstart-stack.yaml" # The quickstart s3 bucket from the sample
    awslocal cloudformation deploy --stack-name my_stack --template-file deployment/environment/local-template.json --s3-bucket cfn-quickstart-bucket

#### The template used in the second command above:

```
{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Resources": {
    "myVPC" : {
      "Type" : "AWS::EC2::VPC",
      "Properties" : {
        "CidrBlock" : "10.0.0.0/16",
        "EnableDnsSupport" : "true",
        "EnableDnsHostnames" : "true"
      }
    },
    "targetGroup1": {
      "Type": "AWS::ElasticLoadBalancingV2::TargetGroup",
      "Properties": {
        "Name": "dfsd",
        "Port": "3000",
        "Protocol": "HTTP",
        "TargetType": "ip",
        "VpcId": { "Ref" : "myVPC" }
      }
    }
  },
  "Description": "Room Service Stack"
}
```

### Environment

```markdown
- OS: MacOS Big Sur 11.6
- LocalStack: latest
```

### Anything else?

_No response_
return not value or value == PLACEHOLDER_AWS_NO_VALUE
def generate_default_name(stack_name: str, logical_resource_id: str):
    random_id_part = short_uid()
    resource_id_part = logical_resource_id[:24]
    stack_name_part = stack_name[: 63 - 2 - (len(random_id_part) + len(resource_id_part))]
    return f"{stack_name_part}-{resource_id_part}-{random_id_part}"
def generate_default_name_without_stack(logical_resource_id: str):
    random_id_part = short_uid()
    resource_id_part = logical_resource_id[: 63 - 1 - len(random_id_part)]
    return f"{resource_id_part}-{random_id_part}"
def pre_create_default_name(key: str) -> Callable[[str, dict, str, dict, str], None]:
    def _pre_create_default_name(
        resource_id: str, resources: dict, resource_type: str, func: dict, stack_name: str
    ):
        resource = resources[resource_id]
        props = resource["Properties"]
        if not props.get(key):
            props[key] = generate_default_name(stack_name, resource_id)
    return _pre_create_default_name