alicloud_maxcompute_service
-> NOTE: When you open MaxCompute service, you'd better open DataWorks service as well.
Using this data source can open Maxcompute service automatically. If the service has been opened, it will return opened.
For information about Maxcompute and how to use it, see What is Maxcompute.
-> NOTE: Available since v1.117.0
~> NOTE: This datasource has been deprecated since provider version v1.228.0. Please use the resource alicloud_max_compute_quota instead.
~> NOTE: The OpenMaxComputeService API this datasource relied on has been decommissioned, so this datasource can no longer activate the MaxCompute service. Setting enable = "On" now only checks whether the service has been activated in the current region: it returns Opened when activated, and reports an error otherwise. Please activate MaxCompute in the Alibaba Cloud console instead.
Example Usage
data "alicloud_maxcompute_service" "open" {
enable = "On"
}
Argument Reference
The following arguments are supported:
-
enable- (Optional) Setting the value toOnto enable the service. If has been enabled, return the result. Valid values:OnorOff. Default toOff.-> NOTE: Setting
enable = "On"to open the Maxcompute service that means you have read and agreed the Maxcompute Terms of Service. The service can not closed once it is opened.
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
status- The current service enable status.