azure - terraform-azure 网络接口错误
问题描述
我需要一些有关创建网络接口 azure terraform 的帮助。我在配置它们时遇到错误。如果我做错了什么,请帮助我。
错误: azurerm_network_interface.revproxy-1:network.InterfacesClient#CreateOrUpdate:发送请求失败:StatusCode=400 -- 原始错误:Code="IpConfigDeleteNotSupported" Message="IP Configuration dataname-1-configuration cannot be deleted. Delete and rename of primary IP Configuration不支持”详细信息=[] * azurerm_network_interface.core-1:发生 1 个错误:
解决方案
如果我们有以下形式的其他信息会有所帮助:
- 用于部署基础设施的完整 Terraform 脚本(不仅仅是网络接口部分,因为它依赖于先前创建的资源,但在注释中提供的脚本中不存在)。
- 导致此错误的步骤。
听起来有一个多步骤的过程导致了这个错误。引用“dataname-1-configuration”但脚本中不存在该名称的错误导致人们相信该错误存在于多步骤过程中。然而,我们肯定是错的,上面的信息将有助于理解这一点。
推荐阅读
- database - 如何为频谱表定义排序键
- google-bigquery - BigQuery 是否支持动态 SQL?
- python - 从多个页面下载 pdf 时跳过未找到的页面
- php - 如何隐藏 Apache 服务器 IP?
- powershell - 限制预测对象
- c++ - 为什么我的过滤器的循环方向会改变我的结果?
- node.js - 获取特定消息获取返回未定义的特定反应
- azure - Azure DevOps 管道 - 获取上一阶段的内部版本号
- ios - Crash number of items in section 0 when there are only 0 sections in the collection view
- html - wp_mail sending only plain text messages