alicloud_open_search_app_groups

This data source provides the Open Search App Groups of the current Alibaba Cloud user.

Example Usage

Basic Usage

variable "name" {
  default = "tf_testacc"
}
resource "alicloud_open_search_app_group" "default" {
  app_group_name = var.name
  payment_type   = "PayAsYouGo"
  type           = "standard"
  quota {
    doc_size         = 1
    compute_resource = 20
    spec             = "opensearch.share.common"
  }
}
data "alicloud_open_search_app_groups" "default" {
  ids = [alicloud_open_search_app_group.default.id]
}
output "app_groups" {
  value = data.alicloud_open_search_app_groups.default.groups
}

Argument Reference

The following arguments are supported:

Argument Reference

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

quota

The quota supports the following: