简体   繁体   English

Terraform 计划尝试替换现有存储帐户资源

[英]Terraform plan trying to replace existing storage account resource

When I try to update latest terraform version terraform plan trying to replace storage account resource how to prevent that?当我尝试更新最新的 terraform 版本 terraform 计划试图替换存储帐户资源时,如何防止这种情况发生?

Tried life_cycle block试过 life_cycle 块

Issue resolved by updating latest version, I tried to use azurm version 2.0.通过更新最新版本解决了问题,我尝试使用 azurm 2.0 版。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Terraform 试图替换现有资源 - Terraform trying to replace existing resource Terraform 添加新用户时尝试替换现有资源 - Terraform trying to replace existing resource when new user is added Terraform 想替换现有资源 - Terraform wants to replace existing resources Terraform 计划获取错误:无法从 state 解码资源 - Terraform plan getting Error: Failed to decode resource from state Terraform 设置 azure 存储帐户 virtual.network - Terraform set azure storage account virtual network ARM 模板 - 存储帐户 - 将专用终结点添加到现有存储帐户 - ARM template - storage account - add private endpoint to existing storage account 为什么消费 Azure 功能会创建应用服务计划和存储帐户? - Why Consumption Azure Functions create an App Service Plan and Storage Account? terraform 资源应该根据变量创建多个CloudWatch告警,计划中确认了但只部署了一个告警 - terraform resource should create multiple CloudWatch alarms based on variable, which is confirmed in the plan but only deploys one alarm terraform计划时授权错误 - Authorization error during terraform plan Terraform 使用专用端点创建 function 应用程序和存储帐户时出现 403 错误 - Terraform 403 error when creating function app and storage account with private endpoint
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM