diff --git a/samtranslator/model/connector/connector.py b/samtranslator/model/connector/connector.py index 26d6b378ae..e9e5ddb5dc 100644 --- a/samtranslator/model/connector/connector.py +++ b/samtranslator/model/connector/connector.py @@ -112,11 +112,10 @@ def get_resource_reference( # Must provide Id (with optional Qualifier) or a supported combination of other properties # If Id is not provided, all values must come from overrides. if not logical_id: - resource_type = get_underlying_cfn_resource_type(obj.get("Type")) - if not _is_nonblank_str(resource_type): raise ConnectorResourceError("'Type' is missing or not a string.") - resource_type = str(resource_type) + resource_type = get_underlying_cfn_resource_type(str(resource_type)) + return ConnectorResourceReference( logical_id=None,