Skip to content

Commit 8e37549

Browse files
author
Jeremy Spencer
committed
fix: updated fields per review request
1 parent cc26f45 commit 8e37549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iosxe_bgp.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ locals {
418418
route_reflector_client = try(neighbor.route_reflector_client, local.defaults.iosxe.configuration.routing.bgp.address_family.l2vpn_evpn.neighbors.route_reflector_client, null)
419419
soft_reconfiguration = try(neighbor.soft_reconfiguration, local.defaults.iosxe.configuration.routing.bgp.address_family.l2vpn_evpn.neighbors.soft_reconfiguration, null)
420420
route_maps = try(length(neighbor.route_maps) == 0, true) ? null : [for rm in neighbor.route_maps : {
421-
inout = try(rm.in_out, local.defaults.iosxe.configuration.routing.bgp.address_family.l2vpn_evpn.neighbors.route_maps.in_out, null)
421+
in_out = try(rm.in_out, local.defaults.iosxe.configuration.routing.bgp.address_family.l2vpn_evpn.neighbors.route_maps.in_out, null)
422422
route_map_name = try(rm.name, local.defaults.iosxe.configuration.routing.bgp.address_family.l2vpn_evpn.neighbors.route_maps.name, null)
423423
}]
424424
}
@@ -436,7 +436,7 @@ resource "iosxe_bgp_l2vpn_evpn_neighbor" "bgp_l2vpn_evpn_neighbor" {
436436
send_community = each.value.send_community
437437
route_reflector_client = each.value.route_reflector_client
438438
soft_reconfiguration = each.value.soft_reconfiguration
439-
route_map = each.value.route_maps
439+
route_maps = each.value.route_maps
440440

441441
depends_on = [
442442
iosxe_bgp_neighbor.bgp_neighbor,

0 commit comments

Comments
 (0)