» baiducloud_bos_buckets

Use this data source to query BOS bucket list.

» Example Usage

data "baiducloud_bos_buckets" "default" {}

output "buckets" {
 value = "${data.baiducloud_bos_buckets.default.buckets}"

» Argument Reference

The following arguments are supported:

  • bucket - (Optional) Name of the bucket to retrieve.
  • filter - (Optional, ForceNew) only support filter string/int/bool value
  • output_file - (Optional, ForceNew) Output file for saving result.

The filter object supports the following:

  • name - (Required) filter variable name
  • values - (Required) filter variable value list

» Attributes Reference

In addition to all arguments above, the following attributes are exported: