I'm trying to trigger deployment on my opsworks stack every time there is a push to an specific branch(GitHub), I followed the instructions here http://bytes.babbel.com/en/articles/2014-01-22-github-service-hook-for-aws-ops-works.html and entered the stack id, app id, branch name and Aws Access key.
The problem is that when I push to my branch the service hook doesn't trigger the deployment on opsworks, I also tried using the "Test Service" button in my service hook on Github but it only says:
"Okay, the test payload is on its way."
but there is no response back, I also look at my permissions level as suggested in this post Can I automate an application deployment via webhook to OpsWorks? and everything looks good.
From documentation here https://developer.github.com/webhooks/testing/ says "Every webhook has its own "Recent Deliveries" section" which I can't find for "Integrations & services", so there is no way to check what happened.
Is there a way in GitHub to see the log or history of my service hook?, or how do I check the response?
Found the issue, its bug on GitHub congifuration providers and was reported 4 hours ago: https://github.com/hashicorp/terraform/issues/11824
Basically they are hard-coding the API endpoint to us-east-1 which will only work if your VPC is in that region, I run a few tests with an stack where the api endpoint was us-east-1 and it worked.
To make this work you will have to create another VPC that lives under the same region or wait to see when this will get resolved by GitHub.
UPDATED:
Here is a link to the source code used by the service https://github.com/github/github-services/blob/master/lib/services/aws_ops_works.rb