AWS just launched a new notification service for CodeStar (aka CodeBuild, CodePipeline, CodeDeploy, and CodeCommit).
Resources:
Guessing at some resources based on API docs:
aws_codestar_notification_ruleaws_codestar_notification_targetresource "aws_sns_topic" "codepipeline" {
name = "codepipeline-notifications"
}
resource "aws_codestar_notification_rule" "codepipeline" {
detail_type = "FULL"
status = "enabled"
event_type_ids = [
"codepipeline-pipeline-pipeline-execution-failed",
"codepipeline-pipeline-pipeline-execution-canceled",
"codepipeline-pipeline-pipeline-execution-started",
"codepipeline-pipeline-pipeline-execution-resumed",
"codepipeline-pipeline-pipeline-execution-succeeded",
"codepipeline-pipeline-pipeline-execution-superseded",
]
targets = [
"${aws_sns_topic.codepipeline.arn}"
]
tags = ...
}
Support for CodeStar notifications added in AWS SDK v1.25.27,
Requires:
Support for a new aws_codestarnotifications_notification_rule resource has been merged and will release with version 2.49.0 of the Terraform AWS Provider, Thursday this week. Thanks to @spirius for the implementation. 👍
This has been released in version 2.49.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Support for CodeStar notifications added in AWS SDK v1.25.27,
Requires: