alicloud_cms_dynamic_tag_group

Provides a Cloud Monitor Service Dynamic Tag Group resource.

For information about Cloud Monitor Service Dynamic Tag Group and how to use it, see What is Dynamic Tag Group.

Example Usage

Basic Usage

resource "alicloud_cms_alarm_contact_group" "default" {
  alarm_contact_group_name = "example_value"
  describe                 = "example_value"
  enable_subscribed        = true
}
resource "alicloud_cms_dynamic_tag_group" "default" {
  contact_group_list = [alicloud_cms_alarm_contact_group.default.id]
  tag_key            = "your_tag_key"
  match_express {
    tag_value                = "your_tag_value"
    tag_value_match_function = "all"
  }
}

Argument Reference

The following arguments are supported:

match_express

The match_express supports the following:

Attributes Reference

The following attributes are exported:

Import

Cloud Monitor Service Dynamic Tag Group can be imported using the id, e.g.

$ terraform import alicloud_cms_dynamic_tag_group.example <id>