Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.18 KB

datadog_dashboard.md

File metadata and controls

82 lines (60 loc) · 1.18 KB

datadog_dashboard

back

Index

Terraform

terraform {
  required_providers {
    datadog = ">= 2.24.0"
  }
}

top

Example Usage

module "datadog_dashboard" {
  source = "./modules/datadog/d/datadog_dashboard"

  # name - (required) is a type of string
  name = null
}

top

Variables

variable "name" {
  description = "(required) - The dashboard name to search for. Must only match one dashboard."
  type        = string
}

top

Datasource

data "datadog_dashboard" "this" {
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "title" {
  description = "returns a string"
  value       = data.datadog_dashboard.this.title
}

output "url" {
  description = "returns a string"
  value       = data.datadog_dashboard.this.url
}

output "this" {
  value = datadog_dashboard.this
}

top