microsoft / azure-pipelines-terraform

Azure Pipelines tasks for installing Terraform and running Terraform commands in a build or release pipeline.
MIT License
95 stars 60 forks source link

Unable to connect to Azure Storage account with Private endpoint enabled from Azure devops pipeline running teraform scripts #141

Open sn101082 opened 1 year ago

DotNetSparky commented 1 year ago

Are you running from self-hosted agents or Microsoft-hosted? You can't connect to your private endpoints from Microsoft-hosted agents, and you'll have to use self-hosted agents in that situation.

Important You cannot use private connections such as ExpressRoute or VPN to connect Microsoft-hosted agents to your corporate network. The traffic between Microsoft-hosted agents and your servers will be over public network.

https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops