首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Terraform : Init

Terraform : Init
EN

Stack Overflow用户
提问于 2022-01-19 13:14:28
回答 1查看 875关注 0票数 -1

我已经更改了Terraform提供程序的版本,以通过一个错误,这导致了另一个错误。我正在使用Azure Devops管道来构建Azure函数。

现在我收到了这个错误,当压电线做了一个Terraform Init。其他计划在较早时已完成,但并没有引起这个问题。

代码语言:javascript
运行
复制
   Initializing the backend...
    ╷
    │ Error: Backend configuration changed
    │ 
    │ A change in the backend configuration has been detected, which may require
    │ migrating existing state.
    │ 
    │ If you wish to attempt automatic migration of the state, use "terraform
    │ init -migrate-state".
    │ If you wish to store the current configuration with no changes to the
    │ state, use "terraform init -reconfigure".
EN

回答 1

Stack Overflow用户

发布于 2022-01-19 14:23:54

通过运行terraform init -reconfigure和检查日志中的版本来修正它,并根据需要进行修改。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70771229

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档