[JIRA] (JENKINS-61860) Jenkins pipeline terraform for azure using azure service principle

2020-04-10 Thread xuzha...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 xu zhang edited a comment on  JENKINS-61860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins pipeline terraform for azure using azure service principle
 

  
 
 
 
 

 
 [~mmreddy1582] Can Looks like  you  provide more detailed information?  How do you use  trying to log in to the Azure CLI using  service principle  credentials in pipeline ,  and  then run  terraform  script, you can omit the sensitive things  scripts .  Terraform-provider-azurerm does not support service principle login. They only support    Reproducible steps are very helpful for me to follow up this issue authenticating using the Azure CLI as a regular user .     
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205724.1586492521000.8916.1586513280182%40Atlassian.JIRA.


[JIRA] (JENKINS-61860) Jenkins pipeline terraform for azure using azure service principle

2020-04-10 Thread xuzha...@microsoft.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 xu zhang commented on  JENKINS-61860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins pipeline terraform for azure using azure service principle
 

  
 
 
 
 

 
 muragaiah muthirevula Can you provide more detailed information?  How do you use service principle credentials in pipeline and terraform script, you can omit the sensitive things.  Reproducible steps are very helpful for me to follow up this issue.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205724.1586492521000.8911.1586512140237%40Atlassian.JIRA.


[JIRA] (JENKINS-61860) Jenkins pipeline terraform for azure using azure service principle

2020-04-09 Thread mmreddy1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 muragaiah muthirevula created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61860  
 
 
  Jenkins pipeline terraform for azure using azure service principle
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Azure DevOps  
 
 
Components: 
 azure-credentials-plugin  
 
 
Created: 
 2020-04-10 04:22  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 muragaiah muthirevula  
 

  
 
 
 
 

 
 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.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment