-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Give a more appropriate warning with Availability Dip (#3362)
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Resources: | ||
CLOUDDELIVERY: | ||
Type: AWS::Serverless::Application | ||
Properties: | ||
Location: | ||
ApplicationId: '{{resolve:ssm:/elw/test/sar-app}}' | ||
SemanticVersion: 5.2.17 |
14 changes: 14 additions & 0 deletions
14
tests/translator/output/error_sar_with_dynamic_reference.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"_autoGeneratedBreakdownErrorMessage": [ | ||
"Invalid Serverless Application Specification document. ", | ||
"Number of errors found: 1. ", | ||
"Resource with id [CLOUDDELIVERY] is invalid. ", | ||
"Serverless Application Repostiory does not support dynamic reference in 'ApplicationId' property." | ||
], | ||
"errorMessage": "Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [CLOUDDELIVERY] is invalid. Serverless Application Repostiory does not support dynamic reference in 'ApplicationId' property.", | ||
"errors": [ | ||
{ | ||
"errorMessage": "Resource with id [CLOUDDELIVERY] is invalid. Serverless Application Repostiory does not support dynamic reference in 'ApplicationId' property." | ||
} | ||
] | ||
} |