Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/resources/custom_dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ The ID of the resource which is also used as unique identifier in Instana is aut
## Example Usage

```hcl
locals {
widgets = jsondecode(file("${path.module}/widgets.json"))
}

resource "instana_custom_dashboard" "example" {
title = "Example Dashboard"

Expand All @@ -32,7 +36,7 @@ resource "instana_custom_dashboard" "example" {
relation_type = "GLOBAL"
}

widgets = file("${path.module}/widgets.json")
widgets = jsonencode(local.widgets)
}
```

Expand Down
Loading