Skip to content

Commit b05fa59

Browse files
add default value for scope (#767)
1 parent 0f27469 commit b05fa59

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/resources/role.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Required:
7070

7171
Optional:
7272

73-
- `scope` (String) Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`)
73+
- `scope` (String) Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to ``.
7474

7575
## Import
7676

grafana/resource_role.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func ResourceRole() *schema.Resource {
8686
"scope": {
8787
Type: schema.TypeString,
8888
Optional: true,
89+
Default: "",
8990
Description: "Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`)",
9091
},
9192
},

0 commit comments

Comments
 (0)