Skip to content

Commit

Permalink
Updated errors page
Browse files Browse the repository at this point in the history
  • Loading branch information
30Piraten committed Feb 21, 2025
1 parent 60f8989 commit a9f68b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions errors/err1.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ CodePipelineCdkStack: creating CloudFormation changeset...
--> Two options:
1, custom Lambda function to handle validation checks after a new version of lambda is deployed. This new custom Lambda function can monitor cloudwatch metrics and if validation checks fail this can trigger a rollback by invoking codedeploy API.
2, Use codebuild in-built health checks for now. Its simpler and mostly sufficient, unless granular permissions are needed.
3, Modify the CloudWatch Alarm logic by removing it from the direct deploymentGroupV1 definition. Instead of attaching the alarm inside deploymentGroupV1, define it later in a separate construct:
awscdk.NewCfnOutput(stack, jsii.String("RollbackAlarmOutput"), &awscdk.CfnOutputProps{
Value: rollbackAlarm.AlarmArn(),
})
```

0 comments on commit a9f68b5

Please sign in to comment.