» alicloud_log_project

The project is the resource management unit in Log Service and is used to isolate and control resources. You can manage all the logs and the related log sources of an application by using projects. Refer to details.

» Example Usage

Basic Usage

resource "alicloud_log_project" "example" {
  name        = "tf-log"
  description = "created by terraform"
}

» Argument Reference

The following arguments are supported:

  • name - (Required, ForceNew) The name of the log project. It is the only in one Alicloud account.
  • description - (Optional) Description of the log project.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the log project. It sames as its name.
  • name - Log project name.
  • description - Log project description.

» Import

Log project can be imported using the id or name, e.g.

$ terraform import alicloud_log_project.example tf-log