Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d/azurerm_network_interface: Support for gateway_load_balancer_frontend_ip_configuration_id to prevent nilpointer #13865

Merged
merged 2 commits into from
Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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