Skip to content

Commit

Permalink
add options to network interface (#29)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Wolschke <sebastian.wolschke@telekom.de>
  • Loading branch information
hektor1966 and Sebastian Wolschke authored Oct 13, 2023
1 parent e46f82d commit 5f1abbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ resource "azurerm_network_interface" "network_interface" {
location = local.network_interface[each.key].location
resource_group_name = local.network_interface[each.key].resource_group_name

dns_servers = local.network_interface[each.key].dns_servers
edge_zone = local.network_interface[each.key].edge_zone
enable_ip_forwarding = local.network_interface[each.key].enable_ip_forwarding
enable_accelerated_networking = local.network_interface[each.key].enable_accelerated_networking
internal_dns_name_label = local.network_interface[each.key].internal_dns_name_label

dynamic "ip_configuration" {
for_each = local.network_interface[each.key].ip_configuration

Expand Down

0 comments on commit 5f1abbc

Please sign in to comment.