tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_log_dashboard

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_log_dashboard" {
  source = "./modules/alicloud/r/alicloud_log_dashboard"

  # char_list - (required) is a type of string
  char_list = null
  # dashboard_name - (required) is a type of string
  dashboard_name = null
  # display_name - (optional) is a type of string
  display_name = null
  # project_name - (required) is a type of string
  project_name = null
}

top

Variables

variable "char_list" {
  description = "(required)"
  type        = string
}

variable "dashboard_name" {
  description = "(required)"
  type        = string
}

variable "display_name" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "project_name" {
  description = "(required)"
  type        = string
}

top

Resource

resource "alicloud_log_dashboard" "this" {
  # char_list - (required) is a type of string
  char_list = var.char_list
  # dashboard_name - (required) is a type of string
  dashboard_name = var.dashboard_name
  # display_name - (optional) is a type of string
  display_name = var.display_name
  # project_name - (required) is a type of string
  project_name = var.project_name
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = alicloud_log_dashboard.this.id
}

output "this" {
  value = alicloud_log_dashboard.this
}

top