0

I am trying to run the packer image .json file with azure devops pipeline but on packer job it is prompting the following error. Error: Endpoint auth data not present: undefined

1 Answer 1

0

I hit this error when the service connection details where missing from the Packer task in the Azure Devops pipline. In my case I was using a variable that was undefined like so:

- task: Packer@1
  inputs:
    connectedServiceType: 'azure'
    azureSubscription: '$(INVALID_VARIABLE_HERE)'
    ...

In this case I had to make sure the variable referenced my service connection name.

Sign up to request clarification or add additional context in comments.

1 Comment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.