github-codebuild-webhook icon indicating copy to clipboard operation
github-codebuild-webhook copied to clipboard

Getting rollbacks in CloudFormation on GithubWebhook step

Open kevincharm opened this issue 8 years ago • 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.

kevincharm avatar Jul 12 '17 00:07 kevincharm

same here.

liuggio avatar Jul 21 '17 13:07 liuggio

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

dstokes avatar Jul 26 '17 17:07 dstokes