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
#terraform plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Attribute must be a whole number, got 0.1
│
│ with module.logzio_alert_v2_utilization_alert["Perch"].logzio_alert_v2.perch_logzio_alert_v2,
│ on ../../modules/global/alertv2/alertv2.tf line 16, in resource "logzio_alert_v2" "perch_logzio_alert_v2":
│ 16: sub_components {
│
Additional context
The sub_components.severity_threshold_tiers, threshold attribute only accepts whole numbers while the UI will accept decimals.
The text was updated successfully, but these errors were encountered:
Description
The sub_components.severity_threshold_tiers, threshold attribute only accepts whole numbers while the UI will accept decimals.
Versions
Module version [Required]: v1.13.2
Terraform version: v1.5.7
Provider version(s):v1.5.7
Reproduction Code [Required]
Set the Threshold to a non-whole number:
severity_threshold_tiers = {
"HIGH" = {
severity = "HIGH",
threshold = 0.2
}
"MEDIUM" = {
severity = "MEDIUM",
threshold = 0.1
}
}
Steps to reproduce the behavior:
Perform a terraform plan.
#terraform plan
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Attribute must be a whole number, got 0.1
│
│ with module.logzio_alert_v2_utilization_alert["Perch"].logzio_alert_v2.perch_logzio_alert_v2,
│ on ../../modules/global/alertv2/alertv2.tf line 16, in resource "logzio_alert_v2" "perch_logzio_alert_v2":
│ 16: sub_components {
│
Additional context
The sub_components.severity_threshold_tiers, threshold attribute only accepts whole numbers while the UI will accept decimals.
The text was updated successfully, but these errors were encountered: