svdgraaf/github-codebuild-webhook

Getting rollbacks in CloudFormation on GithubWebhook step

Opened this issue · 2 comments

Hi, I've been trying to use your tool but have not been able to get the CloudFormation template to build correctly on AWS.

  1. I replaced all instances in the project of eu-west-1 with ap-southeast-2 (Syd). It always fails on:
An error occurred while provisioning your stack: GithubWebhook - Failed to create resource. See the details in CloudWatch Log Stream: 2017/07/12/[$LATEST]56e1242d68b34e5198325b3a0cfdc9d6.

...when running my sls deploy script with the necessary environment vars. My CodeBuild project already exists, which I am supplying in the env vars along with my GitHub details.

  1. Viewing the stack on CloudWatch, you can see this error:
    image
    Unfortunately I can't see that log since the template deletes the log group during rollback.

  2. Another thing was I also had to create github-webhook-artifacts-ap-southeast-2 bucket to get the CloudFormation stack progressing further.

Is there anything obvious I'm missing here?

Thanks for your time.

same here.

make sure you're granting repo and admin:repo_hook permissions when generating your Github access token