Using this data source can open Container Service (CS) service automatically. If the service has been opened, it will return opened.
For information about Container Service (CS) and how to use it, see What is Container Service (CS).
data "alicloud_ack_service" "open" {
enable = "On"
type = "propayasgo"
}
The following arguments are supported:
enable
- (Optional) Setting the value to On
to enable the service. If has been enabled, return the result. Valid values: On
or Off
. Default to Off
.type
- (Required, Available in 1.114.0+) Types of services opened. Valid values: propayasgo
: Container service ack Pro managed version, edgepayasgo
: Edge container service, gspayasgo
: Gene computing services.The following attributes are exported in addition to the arguments listed above:
status
- The current service enable status.