forked from aws-cloudformation/cfn-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed E2521 to check against other properties instead of values (aws-…
…cloudformation#366) * Fixed E2521 to check against other properties instead of values * Added public rds template as a positive test for E2521 * Removed changes to Exclusive.json, will address in a separate ticket * Removed extraneous lines from test template * Removed extraneous lines from test template
- Loading branch information
Showing
4 changed files
with
40 additions
and
4 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
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,28 @@ | ||
--- | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
Description: MU database in a specific environment | ||
Parameters: | ||
DatabaseMasterUsername: | ||
Type: String | ||
NoEcho: true | ||
Description: Username of database | ||
DatabaseName: | ||
Type: String | ||
Description: Name of database | ||
DatabaseMasterPassword: | ||
Type: String | ||
NoEcho: true | ||
Description: Password of database | ||
|
||
Resources: | ||
DBCluster: | ||
Type: AWS::RDS::DBCluster | ||
Properties: | ||
MasterUsername: !Ref DatabaseMasterUsername | ||
MasterUserPassword: !Ref DatabaseMasterPassword | ||
DatabaseName: !Ref DatabaseName | ||
Engine: aurora | ||
EngineMode: serverless | ||
Tags: | ||
- Key: Name | ||
Value: !Ref DatabaseName |