alicloud_message_service_topics

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

Example Usage

data "alicloud_message_service_topics" "ids" {
  ids = ["example_id"]
}

output "topic_id_1" {
  value = data.alicloud_message_service_topics.ids.topics.0.id
}

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

output "topic_id_2" {
  value = data.alicloud_message_service_topics.name.topics.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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