https://pulumi.com logo
#general
Title
# general
r

red-football-97286

03/30/2021, 2:16 PM
Does anyone have an idea why I keep getting this error on a codebuild webook,
Copy code
aws:codebuild:Webhook (build-setup-webhook):
    error: 1 error occurred:
        * error creating CodeBuild Webhook: InvalidInputException: Project source does not support webhook
code,
Copy code
new aws.codebuild.Webhook('build-setup-webhook', {
  projectName: buildProject.name,
  filterGroups: [
    {
      filters: [
        {
          type: 'EVENT',
          pattern: 'PUSH',
        },
        {
          type: 'HEAD_REF',
          pattern: 'main',
        },
      ],
    },
  ],
});