alicloud_msc_sub_webhooks

This data source provides the Msc Sub Webhooks of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_msc_sub_webhooks" "ids" {
  ids = ["example_id"]
}
output "msc_sub_webhook_id_1" {
  value = data.alicloud_msc_sub_webhooks.ids.webhooks.0.id
}

data "alicloud_msc_sub_webhooks" "nameRegex" {
  name_regex = "^my-Webhook"
}
output "msc_sub_webhook_id_2" {
  value = data.alicloud_msc_sub_webhooks.nameRegex.webhooks.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

The following attributes are exported in addition to the arguments listed above: