Hi,
When using fortios_logfortianalyzer_setting resource after the initial apply every subsequent terraform apply will try to update some of the attributes. These attributes are not assigned by us. Please see below.
Resource
resource "fortios_logfortianalyzer_setting" "logfortianalyzer_setting" {
status = "enable"
server = "xxx"
upload_option = "realtime"
reliable = "enable"
source_ip = 1.2.3.4
serial {
name = "FAZ-xxxxxxxx"
}
}
terraform apply output
# fortios_logfortianalyzer_setting.logfortianalyzer_setting will be updated in-place
~ resource "fortios_logfortianalyzer_setting" "logfortianalyzer_setting" {
- faz_type = 1 -> null
id = "LogFortianalyzerSetting"
- mgmt_name = "xxx" -> null
- upload_time = "00:59" -> null
# (29 unchanged attributes hidden)
# (1 unchanged block hidden)
}
As a temporary workaround we are defining the attributes under lifecycle ignore_changes.
Please advise.
Thanks.
Hi,
When using fortios_logfortianalyzer_setting resource after the initial apply every subsequent terraform apply will try to update some of the attributes. These attributes are not assigned by us. Please see below.
Resource
terraform apply output
As a temporary workaround we are defining the attributes under lifecycle ignore_changes.
Please advise.
Thanks.