Skip to content

Commit

Permalink
Fix typos in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ankon committed Oct 27, 2021
1 parent 39bdea0 commit 2c63588
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/plugins/aws/package/compile/events/eventBridge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class AwsCompileEventBridgeEvents {
if (RetryPolicy) {
if (!shouldUseCloudFormation) {
throw new ServerlessError(
'Configuring RetryPolicy is not supported for EventBrigde integration backed by Custom Resources. Please use "provider.eventBridge.useCloudFormation" setting to use native CloudFormation support for EventBridge.',
'Configuring RetryPolicy is not supported for EventBridge integration backed by Custom Resources. Please use "provider.eventBridge.useCloudFormation" setting to use native CloudFormation support for EventBridge.',
'ERROR_INVALID_RETRY_POLICY_TO_EVENT_BUS_CUSTOM_RESOURCE'
);
}
Expand All @@ -180,7 +180,7 @@ class AwsCompileEventBridgeEvents {
if (event.eventBridge.deadLetterQueueArn) {
if (!shouldUseCloudFormation) {
throw new ServerlessError(
'Configuring DeadLetterConfig is not supported for EventBrigde integration backed by Custom Resources. Please use "provider.eventBridge.useCloudFormation" setting to use native CloudFormation support for EventBridge.',
'Configuring DeadLetterConfig is not supported for EventBridge integration backed by Custom Resources. Please use "provider.eventBridge.useCloudFormation" setting to use native CloudFormation support for EventBridge.',
'ERROR_INVALID_DEAD_LETTER_CONFIG_TO_EVENT_BUS_CUSTOM_RESOURCE'
);
}
Expand Down Expand Up @@ -263,7 +263,7 @@ class AwsCompileEventBridgeEvents {
}) {
if (_.isObject(eventBusName)) {
throw new ServerlessError(
'Referencing event bus with CloudFormation intrinsic functions is not supported for EventBrigde integration backed by Custom Resources. Please use `provider.eventBridge.useCloudFormation` setting to use native CloudFormation support for EventBridge.',
'Referencing event bus with CloudFormation intrinsic functions is not supported for EventBridge integration backed by Custom Resources. Please use `provider.eventBridge.useCloudFormation` setting to use native CloudFormation support for EventBridge.',
'ERROR_INVALID_REFERENCE_TO_EVENT_BUS_CUSTOM_RESOURCE'
);
}
Expand Down

0 comments on commit 2c63588

Please sign in to comment.