Skip to content

Commit

Permalink
fix: MC RP nesting on schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-humphries committed Jan 14, 2025
1 parent 4c3cd37 commit 6a2618e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meraki_switches.tf
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,10 @@ locals {
for domain in try(local.meraki.domains, []) : [
for organization in try(domain.organizations, []) : [
for network in try(organization.networks, []) : [
for switch_routing_multicast_rendezvous_point in try(network.switch.routing_multicast_rendezvous_points, []) : {
for switch_routing_multicast_rendezvous_point in try(network.switch.routing_multicast.rendezvous_points, []) : {
network_id = meraki_network.network["${organization.name}/${network.name}"].id
data = try(switch_routing_multicast_rendezvous_point, null)
} if try(network.switch.routing_multicast_rendezvous_points, null) != null
} if try(network.switch.routing_multicast.rendezvous_points, null) != null
] if try(organization.networks, null) != null
] if try(domain.organizations, null) != null
] if try(local.meraki.domains, null) != null
Expand Down

0 comments on commit 6a2618e

Please sign in to comment.