diff --git a/plugins/modules/aci_domain_to_vlan_pool.py b/plugins/modules/aci_domain_to_vlan_pool.py index 2a39aea9e..7e6ebc941 100644 --- a/plugins/modules/aci_domain_to_vlan_pool.py +++ b/plugins/modules/aci_domain_to_vlan_pool.py @@ -333,7 +333,8 @@ def main(): subclass_1=dict( aci_class="infraRsVlanNs", aci_rn="rsvlanNs", - target_filter={"dn": "{0}/rsvlanNs".format(domain_mo)}, + module_object="rsvlanNs", + target_filter={"tDn": aci_mo}, ), )