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 - (ForceNew) Description of the log project. At present, it is not modified by terraform.

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

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/alicloud/r/log_project.html