terraform-provider-fortios
terraform-provider-fortios copied to clipboard
Data source fortios_system_interfacelist not able to filter on interface name
I would like to filter on interface name. By filtering on type I got the name "Loopback - NTP". But when I filter on this name I got nothing...
When using:
data "fortios_system_interfacelist" fortigate_interface_filter {
filter = "type==loopback"
}
output:
Changes to Outputs:
+ value = [
+ "Loopback - NTP",
]
When I filter on this interface name I got "No changes.":
data "fortios_system_interfacelist" fortigate_interface_filter {
filter = "interface==Loopback - NTP"
}
Hi @danadeweerdx ,
Thank you for raising this question, how about using filter = "name==Loopback - NTP" and giving a try which works well on my side, let me know if that doesn't work.
Thanks, Maxx