此AWS控制台项目的Terraform资源是什么?

问题描述 投票:0回答:1

我正在尝试向通过Terraform在AWS中部署的构建管道添加通知。我似乎找不到在CodeBuild中创建状态通知的资源。有人可以让我知道这是什么资源吗?

Screenshot of the AWS CodeBuild administrative console, with an arrow annotation pointing at the "Notify" button associated with a particular project.

amazon-web-services cloud terraform terraform-provider-aws
1个回答
0
投票

您没有提到要创建什么样的通知,因此我将无法提供一些示例代码,但是,根据AWS文档here,您可以使用Cloudwatch检测到CodePipeline的状态更改事件。

您可以找到CloudWatch事件规则here的Terraform参考,并且可以按照文档创建资源,以使用CloudWatch事件规则来监视CodePipeline状态更改。

© www.soinside.com 2019 - 2024. All rights reserved.