We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2674bfe commit e39ceb4Copy full SHA for e39ceb4
1 file changed
cc_fabric.tf
@@ -894,8 +894,8 @@ resource "catalystcenter_fabric_multicast_virtual_networks" "multicast" {
894
ipv4_ssm_ranges = try(vn.ipv4_ssm_ranges, [])
895
multicast_rps = [
896
for rp in try(vn.multicast_rps, []) : {
897
- ipv4_address = try(rp.ipv4_address, null)
898
- ipv6_address = try(rp.ipv6_address, null)
+ ipv4_address = try(rp.rp_location, "") != "FABRIC" ? try(rp.ipv4_address, null) : null
+ ipv6_address = try(rp.rp_location, "") != "FABRIC" ? try(rp.ipv6_address, null) : null
899
ipv4_asm_ranges = try(rp.ipv4_asm_ranges, [])
900
ipv6_asm_ranges = try(rp.ipv6_asm_ranges, [])
901
is_default_v4_rp = try(rp.is_default_v4_rp, null)
0 commit comments