You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config firewall policy
edit 114
set uuid 793a3824-d197-51ee-8716-9ee00451bf2b
set srcintf "ssl.root"
set dstintf "port2"
set action accept
set ztna-status enable
set srcaddr "ssl_vpn_cp_ip_pool"
set dstaddr "vpn_network_private_resources_group"
set ztna-ems-tag "EMS1_ZTNA_cp-trusted-tag"
set schedule "always"
set service "ALL"
set utm-status enable
set ssl-ssh-profile "certificate-inspection"
set webfilter-profile "monitor-all"
set application-list "default"
set logtraffic all
set groups "vpn-network"
next
end
FMG 7.4.2 worked well with it. I suppose it is broken after the update.
After terraform planning, it tries to add missing attributes every time:
# fortimanager_packages_firewall_policy.policy["vpn_network_group_policy_2"] will be updated in-place
~ resource "fortimanager_packages_firewall_policy" "policy" {
id = "114"
+ ztna_ems_tag = "EMS1_ZTNA_cp-trusted-tag"
+ ztna_status = "enable"
# (104 unchanged attributes hidden)
}
The text was updated successfully, but these errors were encountered:
Thank you very much for bringing this issue to our attention. I’ve observed that, the Terraform FMG provider is not yet compatible with version 7.4.5, but the issue appears that the FOS API GET response no longer includes these two arguments. This suggests there may have been a logical adjustment, potentially merging these arguments with others to achieve the same functionality. I will investigate further and consult with the appropriate team to gain additional insights.
There is a problem with importing all attributes from the resource: fortimanager_packages_firewall_policy on FMG 7.4.5.
Missing attributes:
More resource attributes could be missing, but I could only test those.
Here is an imported resource in the state file
Actual resource in Fortimanager GUI
Policy in Fortigate looks like this:
FMG 7.4.2 worked well with it. I suppose it is broken after the update.
After terraform planning, it tries to add missing attributes every time:
The text was updated successfully, but these errors were encountered: