Skip to content

Commit

Permalink
IPS-1234 step function canary deployment set to 50Percent 5Minutes fo…
Browse files Browse the repository at this point in the history
…r dev and build
  • Loading branch information
sandragds committed Dec 17, 2024
1 parent 1ab638a commit 7eec96a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions infrastructure/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Conditions:
UsePermissionsBoundary: !Not [!Equals [!Ref PermissionsBoundary, ""]]
IsDevEnvironment: !Equals [!Ref Environment, dev]
IsLocalDevEnvironment: !Equals [!Ref Environment, localdev]
IsProdEnvironment: !Equals [!Ref Environment, production]
IsDevLikeEnvironment:
!Or [!Condition IsLocalDevEnvironment, !Condition IsDevEnvironment]
IsNotDevLikeEnvironment: !Not
Expand Down Expand Up @@ -776,8 +777,8 @@ Resources:
AutoPublishAlias: live
DeploymentPreference:
Type: !Ref StepFunctionsDeploymentPreference
Interval: 15
Percentage: 10
Interval: !If [IsProdEnvironment, 15, 5]
Percentage: !If [IsProdEnvironment, 10, 50]
Alarms: !If
- UseCanaryDeploymentAlarms
- - !Ref TimeFunctionCanaryErrors
Expand Down Expand Up @@ -850,8 +851,8 @@ Resources:
AutoPublishAlias: live
DeploymentPreference:
Type: !Ref StepFunctionsDeploymentPreference
Interval: 15
Percentage: 10
Interval: !If [IsProdEnvironment, 15, 5]
Percentage: !If [IsProdEnvironment, 10, 50]
Alarms: !If
- UseCanaryDeploymentAlarms
- - !Ref OTGFunctionCanaryErrors
Expand Down Expand Up @@ -995,8 +996,8 @@ Resources:
AutoPublishAlias: live
DeploymentPreference:
Type: !Ref StepFunctionsDeploymentPreference
Interval: 15
Percentage: 10
Interval: !If [IsProdEnvironment, 15, 5]
Percentage: !If [IsProdEnvironment, 10, 50]
Alarms: !If
- UseCanaryDeploymentAlarms
- - !Ref SsmParametersFunctionCanaryErrors
Expand Down Expand Up @@ -1098,8 +1099,8 @@ Resources:
AutoPublishAlias: live
DeploymentPreference:
Type: !Ref StepFunctionsDeploymentPreference
Interval: 15
Percentage: 10
Interval: !If [IsProdEnvironment, 15, 5]
Percentage: !If [IsProdEnvironment, 10, 50]
Alarms: !If
- UseCanaryDeploymentAlarms
- - !Ref CiMappingFunctionCanaryErrors
Expand Down Expand Up @@ -1917,8 +1918,8 @@ Resources:
AutoPublishAlias: live
DeploymentPreference:
Type: !Ref StepFunctionsDeploymentPreference
Interval: 15
Percentage: 10
Interval: !If [IsProdEnvironment, 15, 5]
Percentage: !If [IsProdEnvironment, 10, 50]
Alarms: !If
- UseCanaryDeploymentAlarms
- - !Ref CredentialSubjectFunctionCanaryErrors
Expand Down

0 comments on commit 7eec96a

Please sign in to comment.