【问题标题】:Terraform to setup AWS Codepipline Notification Rule用于设置 AWS Codepipeline 通知规则的 Terraform
【发布时间】:2021-01-15 20:50:40
【问题描述】:

我已经手动设置了 AWS Codepipeline 和通知规则。在那个手动设置管道上,我设置了 4 个事件来触发 SNS 上的通知:

  • 状态执行:
    • 成功
    • 失败
  • 管道执行:
    • 成功
    • 失败

现在,我正在尝试对 Terraform 做同样的事情。但是,在 Terraform 注册表中找不到资源。

如何找到 Terraform 资源来创建 Codepipeline 通知规则?

【问题讨论】:

    标签: amazon-web-services terraform amazon-sns terraform-provider-aws aws-codepipeline


    【解决方案1】:

    CP 通知使用aws_codestarnotifications_notification_rule 设置。

    关于如何设置event_type_ids,您必须参考 AWS 文档:

    【讨论】:

      猜你喜欢
      • 2023-04-01
      • 2019-01-07
      • 2021-03-07
      • 1970-01-01
      • 1970-01-01
      • 2019-05-23
      • 2020-12-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多