alicloud_arms_grafana_workspace

更新时间:

Provides a ARMS Grafana Workspace resource.

For information about ARMS Grafana Workspace and how to use it, see What is Grafana Workspace.

-> NOTE: Available since v1.215.0.

Example Usage

Basic Usage


variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "cn-hangzhou"
}

data "alicloud_resource_manager_resource_groups" "default" {
}

resource "alicloud_arms_grafana_workspace" "default" {
  grafana_version           = "9.0.x"
  description               = var.name
  resource_group_id         = data.alicloud_resource_manager_resource_groups.default.ids.0
  grafana_workspace_edition = "standard"
  grafana_workspace_name    = var.name
  tags = {
    Created = "tf"
    For     = "example"
  }
}

Argument Reference

The following arguments are supported:

  • description - (Optional) Description.
  • grafana_version - (Optional) The version of the grafana.
  • grafana_workspace_edition - (Optional, ForceNew) The edition of the grafana.
  • grafana_workspace_name - (Optional) The name of the resource.
  • resource_group_id - (Optional, Computed) The ID of the resource group.
  • tags - (Optional, Map) The tag of the resource.

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.
  • create_time - The creation time of the resource.
  • status - The status of the resource.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 5 mins) Used when create the Grafana Workspace.
  • delete - (Defaults to 5 mins) Used when delete the Grafana Workspace.
  • update - (Defaults to 5 mins) Used when update the Grafana Workspace.

Import

ARMS Grafana Workspace can be imported using the id, e.g.

$ terraform import alicloud_arms_grafana_workspace.example <id>