Share via

GitHub token error while trying to deploy application use App Service azurerm_app_service_source_control and terraform

Venky Susarla 0 Reputation points
2023-08-24T17:01:10.46+00:00

Hi , I am trying to follow this tutorial https://learn.microsoft.com/en-us/azure/app-service/provision-resource-terraform . The last blcok give me GithUb Access Token error. I have already forked this repo to my GitHub but still gets the token error. Anybody can help?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


1 answer

Sort by: Most helpful
  1. Ajay Kumar N 28,261 Reputation points Microsoft Employee Moderator
    2023-08-25T20:39:18.6166667+00:00

    What is the complete error message you receive?

    It sounds like you are encountering an error when trying to deploy your application using App Service, azurerm_app_service_source_control, and Terraform.

    I understand you have already forked the GitHub repo.
    Just to isolate, you may check:

    1. Verify this works locally.
    2. Double-check that you have created a GitHub personal access token with the correct permissions.

    Kindly enable and review logs to fetch more details about the error, as outlined in this doc: https://learn.microsoft.com/azure/app-service/troubleshoot-diagnostic-logs#enable-application-logging-linuxcontainer

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.