alicloud_mhub_app

Provides a MHUB App resource.

For information about MHUB App and how to use it, see What is App.

Example Usage

Basic Usage

provider "alicloud" {
  region = "cn-shanghai"
}

variable "name" {
  default = "example_value"
}

resource "alicloud_mhub_product" "default" {
  product_name = var.name
}

resource "alicloud_mhub_app" "default" {
  app_name     = var.name
  product_id   = alicloud_mhub_product.default.id
  package_name = "com.example.android"
  type         = "Android"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

MHUB App can be imported using the id, e.g.

$ terraform import alicloud_mhub_app.example <product_id>:<app_key>