site24x7 / terraform-provider-site24x7

Terraform provider for Site24x7
MIT License
22 stars 33 forks source link

Cannot set monitor group tags #248

Closed rtiinus-rr closed 3 months ago

rtiinus-rr commented 4 months ago

I can set tags for site24x7_website_monitor, but site24x7_monitor_group does not support it.

jim-billy-zoho commented 4 months ago

@rtiinus-rr Setting a monitor group for site24x7_website_monitor using the below configuration seems to work. Can you please give us more inputs on this issue and share the terminal output with debugging enabled using the command "export TF_LOG=TRACE"


resource "site24x7_website_monitor" "website_monitor_example" {
  display_name = "Example Monitor - Terraform"
  website = "https://www.example.com"
  monitor_groups = [ "12345000033224228" ]
}
rtiinus-rr commented 4 months ago

@jim-billy-zoho

Thank you for taking a look. My apologies for being ambiguous, I am talking about setting arbitrary tags on monitor groups, like production: true.

I can use the site24x7_tag data source to find an existing tag, and in site24x7_website_monitor I can use tag_ids to apply that tag to it, but site24x7_monitor_group does not have support for adding tags, even though you can add tags using the Site24x7 web site.

image

I do not believe any terminal trace output will be helpful for this, since it is visible in the documentation.

jim-billy-zoho commented 3 months ago

@rtiinus-rr Thank you for raising this issue and extremely sorry for the delay. Please use the latest version 1.0.84 and let us know whether you can set tags for a monitor group.

rtiinus-rr commented 3 months ago

@jim-billy-zoho The latest version is working, thank you!