alicloud_mhub_apps

This data source provides the Mhub Apps of the current Alibaba Cloud user.

Example Usage

Basic Usage

variable "name" {
  default = "example_value"
}
resource "alicloud_mhub_app" "default" {
  app_name     = var.name
  product_id   = alicloud_mhub_product.default.id
  package_name = "com.test.android"
  type         = "2"
}
data "alicloud_mhub_apps" "ids" {}
output "mhub_app_id_1" {
  value = data.alicloud_mhub_apps.ids.apps.0.id
}

data "alicloud_mhub_apps" "nameRegex" {
  name_regex = "^my-App"
}
output "mhub_app_id_2" {
  value = data.alicloud_mhub_apps.nameRegex.apps.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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