Open gnugnug opened 1 year ago
FortiProxy is running FortiOS, so the Terraform provider should work for it as well, however the proxy policies on FortiProxy are located under /api/v2/cmdb/firewall/policy, see https://fndn.fortinet.net/index.php?/fortiapi/643-fortiproxy/2466/643/firewall/#operations-tag-firewall\/policy The terraform provider on the other hand expects the proxy policies to be located under /api/v2/cmdb/firewall/proxy-policy (https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/data-sources/fortios_firewall_proxypolicy). This API endpoint does not exist on FortiProxy. It would be nice fortios_firewall_proxypolicy could target /api/v2/cmdb/firewall/policy as well, so that FortiProxy can be configured with Terraform as well.
Hi @gnugnug,
Thank you for raising this issue. FortiProxy and FortiOS are not exactly the same. We will create a Terraform provider for FortiProxy.
Thanks, Xing
FortiProxy is running FortiOS, so the Terraform provider should work for it as well, however the proxy policies on FortiProxy are located under /api/v2/cmdb/firewall/policy, see https://fndn.fortinet.net/index.php?/fortiapi/643-fortiproxy/2466/643/firewall/#operations-tag-firewall\/policy The terraform provider on the other hand expects the proxy policies to be located under /api/v2/cmdb/firewall/proxy-policy (https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/data-sources/fortios_firewall_proxypolicy). This API endpoint does not exist on FortiProxy. It would be nice fortios_firewall_proxypolicy could target /api/v2/cmdb/firewall/policy as well, so that FortiProxy can be configured with Terraform as well.