@@ -21,13 +21,17 @@ Parameters:
2121
2222# # Conditions
2323Conditions :
24- # Deploy only planned failover support
24+ # Condition to deploy only planned failover support
2525 condPlanned : !Equals [ !Ref featuresupport, "planned" ]
26+ # Condition to deploy only unplanned failover support
2627 condUnPlanned : !Equals [ !Ref featuresupport, "unplanned" ]
28+ # Condition to deploy both planned and unplanned failover support
2729 condAll : !Equals [ !Ref featuresupport, "all" ]
30+ # Condition to create the rule needed for planned failover tracking. This rule is created for "all" and "planned only".
2831 condRulePlanned : !Or
2932 - !Condition condPlanned
3033 - !Condition condAll
34+ # Condition to create the rule needed for unplanned failover tracking. This rule is created for "all" and "unplanned only".
3135 condRuleUnPlanned : !Or
3236 - !Condition condUnPlanned
3337 - !Condition condAll
@@ -460,6 +464,7 @@ Resources:
460464 - " RDS-EVENT-0185"
461465 Name : AuroraGDBfailovertracking
462466 Targets :
467+ # Find the correct Lambda ARN depeding on if "all" or "planned" features were requested
463468 - Arn : !If [condAll, !GetAtt gdbmanagedeplambdaall.Arn, !GetAtt gdbmanagedeplambdaplanned.Arn]
464469 Id : " gdblambdatarget"
465470
@@ -482,6 +487,7 @@ Resources:
482487 - " RDS-EVENT-0228"
483488 Name : AuroraGDBUnplannedfailovertracking
484489 Targets :
490+ # Find the correct Lambda ARN depeding on if "all" or "unplanned" features were requested
485491 - Arn : !If [condAll, !GetAtt gdbmanagedeplambdaall.Arn, !GetAtt gdbmanagedeplambdauplanned.Arn]
486492 Id : " gdblambdatarget"
487493
0 commit comments