Skip to content

Commit

Permalink
d/azurerm_network_interface: Support for `gateway_load_balancer_fro…
Browse files Browse the repository at this point in the history
…ntend_ip_configuration_id` to prevent nilpointer (#13865)

Fixes #13858
Error introduced in #13559
  • Loading branch information
aristosvo authored Oct 25, 2021
1 parent 037f127 commit 437ddf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/services/network/network_interface_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ func dataSourceNetworkInterface() *pluginsdk.Resource {
Type: pluginsdk.TypeBool,
Computed: true,
},

"gateway_load_balancer_frontend_ip_configuration_id": {
Type: pluginsdk.TypeString,
Computed: true,
},
},
},
},
Expand Down
1 change: 1 addition & 0 deletions website/docs/d/network_interface.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ A `ip_configuration` block contains:
* `load_balancer_backend_address_pools_ids` - A list of Backend Address Pool ID's within a Load Balancer that this Network Interface is connected to.
* `load_balancer_inbound_nat_rules_ids` - A list of Inbound NAT Rule ID's within a Load Balancer that this Network Interface is connected to.
* `primary` - is this the Primary IP Configuration for this Network Interface?
* `gateway_load_balancer_frontend_ip_configuration_id` - The Frontend IP Configuration ID of a Gateway Sku Load Balancer the Network Interface is consuming.

## Timeouts

Expand Down

0 comments on commit 437ddf2

Please sign in to comment.