Up-to-date reference of API arguments for LTS Groups you can get at documentation portal

opentelekomcloud_lts_groups_v2

Use this data source to get the list of LTS log groups.

Example Usage

data "opentelekomcloud_lts_groups_v2" "test" {}

Attribute Reference

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

  • id - The data source ID.

  • region - Region in which to query the resources are placed.

  • groups - All log groups that match the filter parameters.

    The groups structure is documented below.

The groups block supports:

  • id - The log group ID.

  • name - The log group name.

  • ttl_in_days - The log expiration time(days).

  • tags - The key/value pairs to associate with the log group.

  • enterprise_project_id - The enterprise project ID to which the log group belongs.

  • created_at - The creation time of the log group, in RFC3339 format.