|
1 | 1 | {
|
2 | 2 | "_autoGeneratedBreakdownErrorMessage": [
|
3 | 3 | "Invalid Serverless Application Specification document. ",
|
4 |
| - "Number of errors found: 22. ", |
| 4 | + "Number of errors found: 24. ", |
5 | 5 | "Transforming resource with id [DuplicateTest] attempts to create a new resource with id [DuplicateTestDuplicateId] and type \"AWS::Serverless::Connector\". ",
|
6 | 6 | "A resource with that id already exists within this template. ",
|
7 | 7 | "Please use a different id for that resource. ",
|
|
11 | 11 | "Destination.Arn is missing. ",
|
12 | 12 | "Resource with id [EventsRuleMissingSqsQueueUrl] is invalid. ",
|
13 | 13 | "Unable to create connector from AWS::Events::Rule to AWS::SQS:Queue; it's not supported or the template is invalid. ",
|
| 14 | + "Resource with id [MyFunction] is invalid. ", |
| 15 | + "Attribute 'Connectors.NoProperties.Properties' should be a map. ", |
| 16 | + "Resource with id [MyFunction] is invalid. ", |
| 17 | + "Attribute 'Connectors.NonDictProperties.Properties' should be a map. ", |
| 18 | + "Resource with id [MyFunction] is invalid. ", |
| 19 | + "Attribute 'Connectors.EmptyProperties.Properties' should be a map. ", |
| 20 | + "Resource with id [MyFunction] is invalid. ", |
| 21 | + "Property 'Connectors.NonDictSourceReference.Properties.SourceReference' should be a map. ", |
14 | 22 | "Resource with id [MyFunctionBothIdAndOtherProps] is invalid. ",
|
15 | 23 | "Must provide 'Id' (with optional 'Qualifier') or a supported combination of other properties. ",
|
16 | 24 | "Resource with id [MyFunctionEmptyDestination] is invalid. ",
|
|
19 | 27 | "Missing required property 'Permissions'. ",
|
20 | 28 | "Resource with id [MyFunctionEmptyPermissionsList] is invalid. ",
|
21 | 29 | "'Permissions' cannot be empty; valid values are: Read, Write. ",
|
22 |
| - "Resource with id [MyFunctionEmptyProperties] is invalid. ", |
23 |
| - "Properties of a resource must be an object. ", |
24 | 30 | "Resource with id [MyFunctionMissingRoleMissingRole] is invalid. ",
|
25 | 31 | "Unable to get IAM role name from 'Source' resource. ",
|
26 | 32 | "Resource with id [MyFunctionNoDestination] is invalid. ",
|
|
33 | 39 | "Missing required property 'Permissions'. ",
|
34 | 40 | "Resource with id [MyFunctionNoStrId] is invalid. ",
|
35 | 41 | "'Id' is missing or not a string. ",
|
36 |
| - "Resource with id [MyFunctionNonDictProperties] is invalid. ", |
37 |
| - "Properties of a resource must be an object. ", |
38 | 42 | "Resource with id [MyFunctionNonExistentId] is invalid. ",
|
39 | 43 | "Unable to find resource with logical ID 'ThisDoesntExist'. ",
|
40 |
| - "Resource with id [MyFunctionTestSourceReferenceId] is invalid. ", |
41 |
| - "'Id' shouldn't be defined in 'SourceReference'. ", |
42 | 44 | "Resource with id [MyFunctionUnsupportedAccessCategory] is invalid. ",
|
43 | 45 | "Unsupported 'Permissions' provided for connector from AWS::Lambda::Function to AWS::SQS::Queue; valid values are: Read, Write. ",
|
44 | 46 | "Resource with id [MyQueueMissingRoleDestination] is invalid. ",
|
45 | 47 | "Unable to get IAM role name from 'Destination' resource. ",
|
46 | 48 | "Resource with id [MyQueueUnsupportedAccessCategoryCombination] is invalid. ",
|
47 | 49 | "Unsupported 'Permissions' provided for connector from AWS::SQS::Queue to AWS::Lambda::Function; valid combinations are: Read + Write. ",
|
48 | 50 | "Resource with id [MyResourceWithoutTypeResourceWithoutType] is invalid. ",
|
49 |
| - "'Type' is missing or not a string." |
| 51 | + "'Type' is missing or not a string. ", |
| 52 | + "Resource with id [TestSourceReferenceId] is invalid. ", |
| 53 | + "'Id' shouldn't be defined in 'SourceReference'." |
50 | 54 | ],
|
51 |
| - "errorMessage": "Invalid Serverless Application Specification document. Number of errors found: 22. Transforming resource with id [DuplicateTest] attempts to create a new resource with id [DuplicateTestDuplicateId] and type \"AWS::Serverless::Connector\". A resource with that id already exists within this template. Please use a different id for that resource. Resource with id [EventsRuleMissingLambdaFunctionArn] is invalid. Unable to get Lambda function ARN from 'Destination' resource. Resource with id [EventsRuleMissingSnsTopicArn] is invalid. Destination.Arn is missing. Resource with id [EventsRuleMissingSqsQueueUrl] is invalid. Unable to create connector from AWS::Events::Rule to AWS::SQS:Queue; it's not supported or the template is invalid. Resource with id [MyFunctionBothIdAndOtherProps] is invalid. Must provide 'Id' (with optional 'Qualifier') or a supported combination of other properties. Resource with id [MyFunctionEmptyDestination] is invalid. Missing required property 'Destination'. Resource with id [MyFunctionEmptyPermissions] is invalid. Missing required property 'Permissions'. Resource with id [MyFunctionEmptyPermissionsList] is invalid. 'Permissions' cannot be empty; valid values are: Read, Write. Resource with id [MyFunctionEmptyProperties] is invalid. Properties of a resource must be an object. Resource with id [MyFunctionMissingRoleMissingRole] is invalid. Unable to get IAM role name from 'Source' resource. Resource with id [MyFunctionNoDestination] is invalid. Missing required property 'Destination'. Resource with id [MyFunctionNoDictConnectorNonDictConnector] is invalid. MyFunctionNoDictConnector.MyFunctionNoDictConnectorNonDictConnector should be a map. Resource with id [MyFunctionNoIdMissingType] is invalid. 'Type' is missing or not a string. Resource with id [MyFunctionNoPermissions] is invalid. Missing required property 'Permissions'. Resource with id [MyFunctionNoStrId] is invalid. 'Id' is missing or not a string. Resource with id [MyFunctionNonDictProperties] is invalid. Properties of a resource must be an object. Resource with id [MyFunctionNonExistentId] is invalid. Unable to find resource with logical ID 'ThisDoesntExist'. Resource with id [MyFunctionTestSourceReferenceId] is invalid. 'Id' shouldn't be defined in 'SourceReference'. Resource with id [MyFunctionUnsupportedAccessCategory] is invalid. Unsupported 'Permissions' provided for connector from AWS::Lambda::Function to AWS::SQS::Queue; valid values are: Read, Write. Resource with id [MyQueueMissingRoleDestination] is invalid. Unable to get IAM role name from 'Destination' resource. Resource with id [MyQueueUnsupportedAccessCategoryCombination] is invalid. Unsupported 'Permissions' provided for connector from AWS::SQS::Queue to AWS::Lambda::Function; valid combinations are: Read + Write. Resource with id [MyResourceWithoutTypeResourceWithoutType] is invalid. 'Type' is missing or not a string." |
| 55 | + "errorMessage": "Invalid Serverless Application Specification document. Number of errors found: 24. Transforming resource with id [DuplicateTest] attempts to create a new resource with id [DuplicateTestDuplicateId] and type \"AWS::Serverless::Connector\". A resource with that id already exists within this template. Please use a different id for that resource. Resource with id [EventsRuleMissingLambdaFunctionArn] is invalid. Unable to get Lambda function ARN from 'Destination' resource. Resource with id [EventsRuleMissingSnsTopicArn] is invalid. Destination.Arn is missing. Resource with id [EventsRuleMissingSqsQueueUrl] is invalid. Unable to create connector from AWS::Events::Rule to AWS::SQS:Queue; it's not supported or the template is invalid. Resource with id [MyFunction] is invalid. Attribute 'Connectors.NoProperties.Properties' should be a map. Resource with id [MyFunction] is invalid. Attribute 'Connectors.NonDictProperties.Properties' should be a map. Resource with id [MyFunction] is invalid. Attribute 'Connectors.EmptyProperties.Properties' should be a map. Resource with id [MyFunction] is invalid. Property 'Connectors.NonDictSourceReference.Properties.SourceReference' should be a map. Resource with id [MyFunctionBothIdAndOtherProps] is invalid. Must provide 'Id' (with optional 'Qualifier') or a supported combination of other properties. Resource with id [MyFunctionEmptyDestination] is invalid. Missing required property 'Destination'. Resource with id [MyFunctionEmptyPermissions] is invalid. Missing required property 'Permissions'. Resource with id [MyFunctionEmptyPermissionsList] is invalid. 'Permissions' cannot be empty; valid values are: Read, Write. Resource with id [MyFunctionMissingRoleMissingRole] is invalid. Unable to get IAM role name from 'Source' resource. Resource with id [MyFunctionNoDestination] is invalid. Missing required property 'Destination'. Resource with id [MyFunctionNoDictConnectorNonDictConnector] is invalid. MyFunctionNoDictConnector.MyFunctionNoDictConnectorNonDictConnector should be a map. Resource with id [MyFunctionNoIdMissingType] is invalid. 'Type' is missing or not a string. Resource with id [MyFunctionNoPermissions] is invalid. Missing required property 'Permissions'. Resource with id [MyFunctionNoStrId] is invalid. 'Id' is missing or not a string. Resource with id [MyFunctionNonExistentId] is invalid. Unable to find resource with logical ID 'ThisDoesntExist'. Resource with id [MyFunctionUnsupportedAccessCategory] is invalid. Unsupported 'Permissions' provided for connector from AWS::Lambda::Function to AWS::SQS::Queue; valid values are: Read, Write. Resource with id [MyQueueMissingRoleDestination] is invalid. Unable to get IAM role name from 'Destination' resource. Resource with id [MyQueueUnsupportedAccessCategoryCombination] is invalid. Unsupported 'Permissions' provided for connector from AWS::SQS::Queue to AWS::Lambda::Function; valid combinations are: Read + Write. Resource with id [MyResourceWithoutTypeResourceWithoutType] is invalid. 'Type' is missing or not a string. Resource with id [TestSourceReferenceId] is invalid. 'Id' shouldn't be defined in 'SourceReference'." |
52 | 56 | }
|
0 commit comments