Skip to content

Commit

Permalink
data.azurerm_network_interface: add missing property ip_configuration…
Browse files Browse the repository at this point in the history
….private_ip_address_version (#2646)
  • Loading branch information
katbyte authored and WodansSon committed Jan 11, 2019
1 parent 38c28b3 commit ec1739c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions azurerm/data_source_network_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion azurerm/resource_arm_network_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit ec1739c

Please sign in to comment.