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
hi,
This is about the SSL monitor, but I guess the implementation would be the same everywhere where there is a tag_ids/tag_names. https://registry.terraform.io/providers/site24x7/site24x7/latest/docs/resources/ssl_monitor
So I associate tags to this monitor and I apply, they apply correctly.
But on the next run, the tag is detected as new. The same applies to user_group_names.
So this is probably related with the fact that I have specified default values.
This is my setup, I do have an empty tag_ids - that should be ignored for being empty.
tag_ids = []
tag_names = ["TAG_A"]
Right?
PS.
The user solution is to change from this:
variable "tag_ids" {
type = list(string)
default = []
}
to this:
variable "tag_ids" {
type = list(string)
default = null
}
Though, to be frank, I like it more when the default is the same type as the definition.
Maybe you can add an extra check on your side.
hi,
This is about the SSL monitor, but I guess the implementation would be the same everywhere where there is a tag_ids/tag_names.
https://registry.terraform.io/providers/site24x7/site24x7/latest/docs/resources/ssl_monitor
So I associate tags to this monitor and I apply, they apply correctly.
But on the next run, the tag is detected as new. The same applies to user_group_names.
The text was updated successfully, but these errors were encountered: