alicloud_sddp_instances
更新时间:
This data source provides the Sddp Instances of the current Alibaba Cloud user.
-> NOTE: Available since v1.136.0.
Example Usage
Basic Usage
data "alicloud_sddp_instances" "default" {}
output "sddp_instance_id" {
value = data.alicloud_sddp_instances.default.instances.0
}
Argument Reference
The following arguments are supported:
output_file- (Optional) File name where to save data source results (after runningterraform plan).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
instances- A list of Sddp Instances. Each element contains the following attributes:authed- Whether the required RAM authorization is configured.instance_id- The ID of the instance.instance_num- The number of instances.odps_set- Whether the authorized MaxCompute (ODPS) assets.oss_bucket_set- Whether the authorized oss assets.oss_size- The OSS size of the instance.payment_type- The payment type of the resource. Valid values:Subscription.rds_set- Whether the authorized rds assets.status- The status of the resource.
该文章对您有帮助吗?