Skip to content

Commit b14d03c

Browse files
authored
Merge pull request #319 from grafana/issue262/folder-id-attribute-documentation
Fix folder ID documentation
2 parents 20904a5 + 2ee783a commit b14d03c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/resources/folder.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,9 @@ resource "grafana_dashboard" "metrics" {
3131

3232
- **title** (String) The title of the folder.
3333

34-
### Optional
35-
36-
- **id** (String) The ID of this resource.
37-
3834
### Read-Only
3935

36+
- **id** (String) Unique internal identifier.
4037
- **uid** (String) Unique identifier.
4138

4239
## Import

grafana/resource_folder.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ func ResourceFolder() *schema.Resource {
3232
Computed: true,
3333
Description: "Unique identifier.",
3434
},
35-
35+
"id": {
36+
Type: schema.TypeString,
37+
Computed: true,
38+
Required: false,
39+
Optional: false,
40+
Description: "Unique internal identifier.",
41+
},
3642
"title": {
3743
Type: schema.TypeString,
3844
Required: true,

0 commit comments

Comments
 (0)