Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61860

Jenkins pipeline terraform for azure using azure service principle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • None

      I am trying to build the pipeline to azure using terraform ,i have used azure credential plugin ,created golbal credential .

      getting below error .Please kindly advise .

       

       

      Error:

       

      Error building AzureRM Client: Authenticating using the Azure CLI is only supported as a User (not a Service Principal).

        

      To authenticate to Azure using a Service Principal, you can use the separate 'Authenticate using a Service Principal'

       

      auth method - instructions for which can be found here: https://www.terraform.io/docs/providers/azurerm/guides/service_principal_client_secret.html

        

      Alternatively you can authenticate using the Azure CLI by using a User Account.

       

            azure_devops Azure DevOps
            mmreddy1582 muragaiah muthirevula
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: