v0.1.0
What's Changed
- change the type for critical and warning to TypeString and add ValidateFunc to validation by @masayoshi634 in #81
Full Changelog: v0.0.8...v0.1.0
Note
Due to a bug fix in #73 , using this version will make some diffs without changing the settings.
# mackerel_monitor.expression will be updated in-place
~ resource "mackerel_monitor" "expression" {
id = "sample_id"
name = "expression"
# (2 unchanged attributes hidden)
~ expression {
- critical = "0" -> null
# (3 unchanged attributes hidden)
}
}
This has fixed the behavior that 0 is set when the critical and warning thresholds are not set in a monitor.
From this version the threshold will be empty if it isn't set.
This has changed the types of warning and critical from TypeFloat to TypeString and written to state, so it cannot be reverted after updating to this version.