Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Oct 5, 2020
1 parent 12f6707 commit 9dcc643
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions state/rds-aurora-serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,12 @@ Mappings:
EngineVersionMap:
'5.6.10a':
ClusterParameterGroupFamily: 'aurora5.6'
EngineVersion: '5.6.10a'
Engine: aurora
'5.7.mysql-aurora.2.07.1':
ClusterParameterGroupFamily: 'aurora-mysql5.7'
EngineVersion: '5.7.mysql_aurora.2.07.1'
Engine: 'aurora-mysql'
Conditions:
HasZone: !Not [!Equals [!Ref ParentZoneStack, '']]
HasSSHBastionSecurityGroup: !Not [!Equals [!Ref ParentSSHBastionStack, '']]
Expand Down Expand Up @@ -209,9 +213,9 @@ Resources:
DBClusterParameterGroupName: !Ref DBClusterParameterGroup
DBSubnetGroupName: !Ref DBSubnetGroup
EnableHttpEndpoint: !Ref EnableDataApi
Engine: aurora
Engine: !FindInMap [EngineVersionMap, !Ref EngineVersion, Engine]
EngineMode: serverless
EngineVersion: !Ref EngineVersion
EngineVersion: !FindInMap [EngineVersionMap, !Ref EngineVersion, EngineVersion]
KmsKeyId: !If [HasDBSnapshotIdentifier, !Ref 'AWS::NoValue', {'Fn::ImportValue': !Sub '${ParentKmsKeyStack}-KeyArn'}]
MasterUsername: !If [HasDBSnapshotIdentifier, !Ref 'AWS::NoValue', !Ref DBMasterUsername]
MasterUserPassword: !If [HasDBSnapshotIdentifier, !Ref 'AWS::NoValue', !Ref DBMasterUserPassword]
Expand Down

0 comments on commit 9dcc643

Please sign in to comment.