alicloud_message_service_subscriptions

This data source provides the Message Notification Service Subscriptions of the current Alibaba Cloud user.

Example Usage

data "alicloud_message_service_subscriptions" "ids" {
  ids        = ["example_id"]
  topic_name = "tf-example"
}

output "subscription_id_1" {
  value = data.alicloud_message_service_subscriptions.ids.subscriptions.0.id
}

data "alicloud_message_service_subscriptions" "name" {
  topic_name = "tf-example"
}

output "subscription_id_2" {
  value = data.alicloud_message_service_subscriptions.name.subscriptions.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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