-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathaurora-mysql.cfhighlander.rb
More file actions
45 lines (37 loc) · 2.12 KB
/
Copy pathaurora-mysql.cfhighlander.rb
File metadata and controls
45 lines (37 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
CfhighlanderTemplate do
Name 'aurora-mysql'
DependsOn 'vpc'
DependsOn 'lib-iam'
Parameters do
ComponentParam 'EnvironmentName', 'dev', isGlobal: true
ComponentParam 'EnvironmentType', 'development', isGlobal: true, allowedValues: ['development', 'production']
ComponentParam 'StackOctet', isGlobal: true
ComponentParam 'NetworkPrefix', '10', isGlobal: true
ComponentParam 'DnsDomain'
ComponentParam 'SnapshotID'
ComponentParam 'ScalableTargetMinCapacity'
ComponentParam 'ScalableTargetMaxCapacity'
ComponentParam 'EngineVersion'
ComponentParam 'StorageEncrypted', false
ComponentParam 'StorageType', 'aurora', allowedValues: ['aurora', 'aurora-iopt1']
ComponentParam 'EnableHttpEndpoint', 'false', allowedValues: ['true', 'false']
ComponentParam 'EnableReader', 'false'
ComponentParam 'ReaderOwnParameterGroup', 'false'
ComponentParam 'ReaderPromotionTier', 1, allowedValues: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
ComponentParam 'BacktrackWindow', 0
ComponentParam 'WriterInstanceType'
ComponentParam 'ReaderInstanceType'
ComponentParam 'MaxCapacity', 2, allowedValues: [1, 2, 4, 8, 16, 32, 64, 128, 192, 256]
ComponentParam 'MinCapacity', 2, allowedValues: [0, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 192, 256]
ComponentParam 'KmsKeyId' if defined? kms_key_id
ComponentParam 'VPCId', type: 'AWS::EC2::VPC::Id'
ComponentParam 'SubnetIds', type: 'CommaDelimitedList'
ComponentParam 'EnablePerformanceInsights', defined?(performance_insights) ? performance_insights : false
ComponentParam 'PerformanceInsightsRetentionPeriod', defined?(performance_insights) && defined?(insights_retention) ? insights_retention.to_i : 7,
allowedValues: [7, 31, 62, 93, 124, 155, 186, 217, 248, 279, 310, 341, 372, 403, 434, 465, 496, 527, 558, 589, 620, 651, 682, 713, 731]
ComponentParam 'NamespaceId' if defined? service_discovery
ComponentParam 'EnableReplicaAutoScaling', 'false'
ComponentParam 'EnableCloudwatchLogsExports', defined?(log_exports) ? log_exports : ''
ComponentParam 'EnableLocalWriteForwarding', 'false'
end
end