Skip to content

Commit 3d0c3a9

Browse files
nasondavidgf
authored andcommitted
Pass Trigger Configurations to CodeDeploy (#45)
* Pass Trigger Configurations to CodeDeploy * Add fixtures for TriggerConfigurations
1 parent 7ce93b4 commit 3d0c3a9

File tree

7 files changed

+1314
-1
lines changed

7 files changed

+1314
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ You can see a working example in the [example folder](./example/).
6464
* `preTrafficHook`: (optional) validation Lambda function that runs before traffic shifting. It must use te CodeDeploy SDK to notify about this step's success or failure (more info [here](https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html)).
6565
* `postTrafficHook`: (optional) validation Lambda function that runs after traffic shifting. It must use te CodeDeploy SDK to notify about this step's success or failure (more info [here](https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html))
6666
* `alarms`: (optional) list of CloudWatch alarms. If any of them is triggered duringt the deployment, the associated Lambda function will automatically roll back to the previous version.
67+
* `triggerConfigurations`: (optional) list of CodeDeploy Triggers. See more details in the [CodeDeploy TriggerConfiguration Documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html), or [this CodeDeploy notifications guide](https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-sns-event-notifications-create-trigger.html) for example uses
6768

6869
### Default configurations
6970

fixtures/1.output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,4 +640,4 @@
640640
}
641641
}
642642
}
643-
}
643+
}

0 commit comments

Comments
 (0)