English 中文(简体)
地形:建筑账户:不能获得象征性的平价要求
原标题:terraform: building account: could not acquire access token to parse claims

在门户网站.azure.com,i 为地形建立了新的评估登记,并建立了证书和办公室;秘密。 该表由云层申请管理员发挥作用。 我正试图利用这一工具来管理我的梯式文字。

我有以下地形法:

terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = ">=3.53.0"
    }
    azapi = {
      source = "azure/azapi"
    }
  }
}

provider "azurerm" {
  features {}
  subscription_id = "<subscription_id>"
  client_id = "<client_id>"
  client_secret = "<client_secret>"
  tenant_id = "<tenant_id>"
}
provider "azapi" {
  subscription_id = "<subscription_id>"
  client_id = "<client_id>"
  client_secret = "<client_secret>"
  tenant_id = "<tenant_id>"
  use_cli = true
}

然后是terraform plan,即正在形成的

│ Error: building account: could not acquire access token to parse claims: clientCredentialsToken: cannot request token: Post "https://login.microsoftonline.com/8e7e5486-6e11-48bf-9cca-ef5fd4205af3/oauth2/v2.0/token": POST https://login.microsoftonline.com/8e7e5486-6e11-48bf-9cca-ef5fd4205af3/oauth2/v2.0/token giving up after 5 attempt(s): Post "https://login.microsoftonline.com/8e7e5486-6e11-48bf-9cca-ef5fd4205af3/oauth2/v2.0/token": dial tcp: lookup login.microsoftonline.com on 127.0.0.11:53: server misbehaving
│ 
│   with provider["registry.terraform.io/hashicorp/azurerm"],
│   on providers.tf line 13, in provider "azurerm":
│   13: provider "azurerm" {

我不清楚这个问题是什么。 我在座右边是VSCode(我的环境被cker弄)。

问题回答

地形:建筑账户:由于临时网络问题,无法获得象征性的平价要求。

正如你提到的那样,你似乎超越了这一错误,可能是因为临时网络问题,而这一问题也可以通过改变你的集装箱网络模式确定。

多克人对桥梁网络的违约,但转向东道网络(通过在你的<代码>-network=“host”上添加<>> > > ,可以解决英国航天中心的解决办法问题,但也可能影响到集装箱的孤立。

这个问题经常产生于Docker集装箱内的DNS配置问题,而在这些集装箱内,你的开发环境和Terraform正在运行,并且产生<>>t Interim

此外,这一错误表明,你的回籍逻辑是在5次尝试之后放弃的。 也许需要核实贵的多克集装箱在进行Terraform指挥之前有稳定的互联网连接。

有时,Docker集装箱可能没有适当的国家航天中心环境。 多克人试图利用东道国机器的国家安全局环境,但网络问题或国家安全局的封锁可能会干扰这一进程。 您可以通过修改Docker daemon配置或使用“条形”--d>s/条形,为Docker集装箱明确设立国家航天中心服务机。 旗号为“条形形”

评注中提到的问题需要reader进入您的集装箱登记册。 <>>>><>>>>>>>> 单凭>在您的个案中就赢得了执业。

“enter像以下描述”/。</p

<><>>Reference:

https://docs.docker.com/network/rel=“nofollow noreferer”>Docker-networking

hrresign >





相关问题
Windows Azure WorkerRole response

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object. I can print the script output to ...

Windows Azure WebRole stuck in a deployment loop

I ve been struggling with this one for a couple of days now. My current Windows Azure WebRole is stuck in a loop where the status keeps changing between Initializing, Busy, Stopping and Stopped. It ...

Getting a token for Windows Azure

We are looking at Windows Azure, but getting a token appears to be hard now, at least that s what I m seeing in web searches. Anyone tried it or know how to accelerate that process? Any idea how long ...

Developing Azure .Net 4.0 Applications

Presently .Net 4.0 is not supported on Azure. This thread indicates that you will not be able to use .Net 4.0 with VS 2010 until it is supported in the cloud. http://social.msdn.microsoft.com I d ...

.NET 4.0 on Windows Azure?

My google-fu is failing me on this one. As a possible solution to Unit Testing .NET 3.5 projects using MStest in VS2010 (but I ve put this in a seperate question because it s kind of unrelated): Is ...

热门标签