Terraform-azure网络接口错误

时间:2018-07-06 20:14:34

标签: azure networking terraform

我需要有关创建网络界面的azure terraform的一些帮助。设置它们时出现错误。如果我做错了任何事情,请帮助我。

Error: 
azurerm_network_interface.revproxy-1: network.InterfacesClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="IpConfigDeleteNotSupported" Message="IP Configuration dataname-1-configuration cannot be deleted. Deletion and renaming of primary IP Configuration is not supported" Details=[]
* azurerm_network_interface.core-1: 1 error(s) occurred:

1 个答案:

答案 0 :(得分:0)

如果我们提供以下形式的其他信息,将会有所帮助:

  1. 用于部署基础结构的完整Terraform脚本(不仅仅是网络接口部分,因为它依赖于先前创建的资源,但注释中提供的脚本中没有这些资源)。
  2. 导致此错误的步骤。

听起来好像有一个多步骤过程导致此错误。引用“ dataname-1-configuration”的错误但脚本中没有该名称,这使人们相信该错误是在多步骤过程中。但是,我们当然可能错了,上面的信息将有助于您理解这一点。