我已经更改了Terraform提供程序的版本,以通过一个错误,这导致了另一个错误。我正在使用Azure Devops管道来构建Azure函数。
现在我收到了这个错误,当压电线做了一个Terraform Init。其他计划在较早时已完成,但并没有引起这个问题。
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".
发布于 2022-01-19 14:23:54
通过运行terraform init -reconfigure
和检查日志中的版本来修正它,并根据需要进行修改。
https://stackoverflow.com/questions/70771229
复制相似问题