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,