From b3eea8f58662509e40ddc42073654953ccb9ce95 Mon Sep 17 00:00:00 2001 From: kt Date: Thu, 10 Jan 2019 17:49:58 -0800 Subject: [PATCH] data.azurerm_network_interface: add missing property ip_configuration.private_ip_address_version --- azurerm/data_source_network_interface.go | 6 ++++++ azurerm/resource_arm_network_interface.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/azurerm/data_source_network_interface.go b/azurerm/data_source_network_interface.go index 40aabb81e9c3..50eced28cfc7 100644 --- a/azurerm/data_source_network_interface.go +++ b/azurerm/data_source_network_interface.go @@ -59,6 +59,12 @@ func dataSourceArmNetworkInterface() *schema.Resource { Computed: true, }, + "private_ip_address_version": { + Type: schema.TypeString, + Computed: true, + }, + + //TODO: should this be renamed to private_ip_address_allocation_method or private_ip_allocation_method ? "private_ip_address_allocation": { Type: schema.TypeString, Computed: true, diff --git a/azurerm/resource_arm_network_interface.go b/azurerm/resource_arm_network_interface.go index b51732e590b3..d25e822136fa 100644 --- a/azurerm/resource_arm_network_interface.go +++ b/azurerm/resource_arm_network_interface.go @@ -81,7 +81,6 @@ func resourceArmNetworkInterface() *schema.Resource { Optional: true, }, - //TODO: should this be renamed to private_ip_address_allocation_method or private_ip_allocation_method ? "private_ip_address_version": { Type: schema.TypeString, Optional: true, @@ -93,6 +92,7 @@ func resourceArmNetworkInterface() *schema.Resource { }, false), }, + //TODO: should this be renamed to private_ip_address_allocation_method or private_ip_allocation_method ? "private_ip_address_allocation": { Type: schema.TypeString, Required: true,