fix 201vmsspacker jumpbox, MSI_ID is object id not client id, we need az cli to retrieve client id
This commit is contained in:
@ -116,8 +116,7 @@ func test201VmssPackerJumpbox(t *testing.T) {
|
||||
if clientId := os.Getenv("ARM_CLIENT_ID"); clientId != "" {
|
||||
packerVars["client_id"] = clientId
|
||||
}
|
||||
if identityId := os.Getenv("MSI_ID"); identityId != "" {
|
||||
packerVars["client_id"] = identityId
|
||||
if os.Getenv("MSI_ID") != "" {
|
||||
useMsi = true
|
||||
}
|
||||
if clientSecret := os.Getenv("ARM_CLIENT_SECRET"); clientSecret != "" {
|
||||
|
Reference in New Issue
Block a user