title: change default event rule for codepipeline via terraform
body: <p>I want to trigger codepipeline based on custom event rule - trigger pipeline on specific change in codecommit based on commit message.</p>
  <p>I created the lambda function that do this logic and update the default event rule.</p>
  <p>This configuration done manually and working.</p>
  <p>Now I want to automate it via terraform -&gt; create codepipeline, lambda, custom event rule.</p>
  <p>I can't find a way to change the default event rule that created automatically for pipeline to my custom rule.</p>
  <p>How I can do it via terraform?</p>