我试着用terraform apply来应用地形图。但是,当我运行该命令时,会得到以下错误
Error: Error building AzureRM Client: Error populating Client ID from the Azure CLI:
No Authorization Tokens were found -
please ensure the Azure CLI is installed and then log-in with `az login`.
我确实安装了Azure,并使用az login登录。当我运行az login时,我被重定向到登陆页面,在那里我可
我对Terraform很陌生,我正在尝试使用Visual代码中找到的文档中的示例部署一个资源组。在尝试使用terraform apply或terraform plan时,我会收到一个json解析错误。命令terraform init、terraform fmt和terraform validate都可以正常工作。使用az login连接到天蓝色也是有效的。
有关代码、版本控制和设置的信息如下所示。
误差
╷
│ Error: building AzureRM Client: please ensure you have installed Azure CLI version 2.0.79 or
在最近的一次密码更改之后,我无法执行"terraform plan“操作(或任何其他需要对Azure订阅进行身份验证的操作。我实际上怀疑这是一个更确切地说是Azure AD的问题,但我决定首先在Terraform区域询问,以避免其他人遇到这个问题(Googled搜索了多个变体,但对于Powershell情况没有明确的解释) 错误消息为: │ Error: building account: getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for t
我正在尝试创建一个管道,我将在其中对来自Azure DevOps管道的Azure订阅运行terraform配置。一切正常,但当我尝试以用户身份使用az cli登录时,失败了,错误为:
ERROR: Authentication failed due to error of 'Unsupported wstrust endpoint version. Current support version is wstrust2005 or wstrust13.' This typically happens when attempting a Microsoft account, wh
我使用terraform v0.10.6在数字海洋上旋转一个液滴。我正在引用一个键和SSH指纹,它已经添加到我的terraform配置中的数字海洋中(复制到下面)。我可以使用这个ssh键登录现有的液滴,但不能登录到新形成的液滴上(SSH简单地失败)。关于如何排除此问题的任何想法,以便当我通过terraform启动液滴时,我应该能够通过已经添加到数字海洋(在DO控制台上可见的)键登录到液滴上。目前,液滴出现在数字海洋管理控制台,但我永远无法SSH到服务器(连接被拒绝)。
test.tf
# add base droplet with name
resource "digitalocean
第一次建立地形云并得到这个错误。不知道为什么在我的本地机器上安装了蔚蓝CLI并设置了路径,但我认为这与在terraform云平台中设置它有关。
Error: building AzureRM Client: please ensure you have installed Azure CLI version 2.0.79 or newer. Error parsing json result from the Azure CLI: launching Azure CLI: exec: "az": executable file not found in $PATH.
with
我试图从Spark、falcon、hive等Hadoop服务用户运行作业,但当我从这些用户执行命令时,它抛出了一个错误:
该用户的HDFS delegation token not found in cache。
示例:我已经使用falcon CLI创建了一个falcon集群实体,但是当我提交我的实体时,它为Falcon用户抛出了相同的错误。
使用提供程序块
provider "azurerm" {
subscription_id = var.subscription_id
version = "=1.44"
}
在成功登录之后
az login
正在运行
terraform plan
我得到以下错误:
Error: Error building account: Error getting authenticated object ID: Error parsing json result from the Azure CLI: Error waiting for the A
成功登录后的Terraform计划返回以下错误。不确定为什么Terraform在刷新状态时会抱怨无效的凭据,即使凭据已成功执行。
terraform plan
`[0m[1mRefreshing Terraform state in-memory prior to plan...[0m The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage.
[0m
[31m
[1m[31mError: [0m[0m[1mE
我正在尝试用Terraform创建一个aks集群。。验证进行得很好。但是计划会出现以下错误。
有一些经验的Terraform以及天蓝色和阿克,但不是与azure广告。所以启发一下出了什么问题。
对和也进行了调查,但没有线索。
Error: building account: getting authenticated object ID: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: AADSTS50076: Due to
a configuration cha
我用Hashicorp教程中的代码创建了我的项目“使用S3和Cloudflare托管静态网站”,但是教程没有提到github操作。因此,当我将我的项目放在github操作中时,即使terraform计划和terraform在本地成功地应用了输出,我在terraform应用程序上也会出现错误:
Error: expected DNS record to not already be present but already exists
with cloudflare_record.site_cname ...
with cloudflare_record.www
我的main.tf中有两个