0

I'm trying to configure sns (slack) notifications for CodeBuild in Terraform. By that I mean the 'create notification' lable in the console when we click on "actions". However, I couldn't find a way to do this via terraform (can't find documentation on it)

I know that in codepipeline, we can add actions for different stages, and attach a notification arn to each action like so:

action {
       configuration = {
         NotificationArn = var.approve_sns_arn
         CustomData      = var.approve_comment
       }
       name     = "Production-Approval"
       category = "Approval"
       owner    = "AWS"
       provider = "Manual"
       version  = "1"
     }

but I can't find a way to do this in codebuild.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.