-
Notifications
You must be signed in to change notification settings - Fork 0
/
multicast.tf
23 lines (23 loc) · 966 Bytes
/
multicast.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#__________________________________________________________________
#
# Intersight Multicast Policy
# GUI Location: Policies > Create Policy > Multicast
#__________________________________________________________________
resource "intersight_fabric_multicast_policy" "map" {
for_each = local.multicast
description = coalesce(each.value.description, "${each.value.name} Multicast Policy.")
name = each.value.name
querier_ip_address = each.value.querier_ip_address
querier_ip_address_peer = each.value.querier_ip_address_peer
querier_state = each.value.querier_state
snooping_state = each.value.snooping_state
src_ip_proxy = each.value.source_ip_proxy_state
organization { moid = var.orgs[each.value.org] }
dynamic "tags" {
for_each = { for v in each.value.tags : v.key => v }
content {
key = tags.value.key
value = tags.value.value
}
}
}