When deleting a hook outside of Terraform then running Terraform again, it blows up with messages like the following:
API Error: 404 2.0/repositories/owner/repoName/hooks/{uuid} repoName is not a valid hook
which makes the run fail.
Unfortunately I wasn't able to figure out a more rigorous method of checking the error returned, Go is not a strong language for me. Feel free to edit this.
When deleting a hook outside of Terraform then running Terraform again, it blows up with messages like the following:
which makes the run fail.
Unfortunately I wasn't able to figure out a more rigorous method of checking the error returned, Go is not a strong language for me. Feel free to edit this.