Error: Unsupported attribute
on /modules/aci/main.tf line 39, in locals:
39: node.id if length([for int in node.interfaces : try(int.policy_group, null) if try(int.policy_group, null) == pg.name]) > 0
This object does not have an attribute named "interfaces".
Data model triggering error:
apic:
interface_policies:
nodes:
- id: 101
Workaround is to add empty interfaces key however the preference is to update the code given the interfaces key is not mandatory in the data model schema, and a similar try statement exists for these keys on lines 14 and 15.
Example of error:
Data model triggering error:
Workaround is to add empty interfaces key however the preference is to update the code given the interfaces key is not mandatory in the data model schema, and a similar try statement exists for these keys on lines 14 and 15.
Workaround: