Skip to content

Commit

Permalink
add default value for scope (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
IevaVasiljeva committed Jan 11, 2023
1 parent 0f27469 commit b05fa59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/role.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Required:

Optional:

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

## Import

Expand Down
1 change: 1 addition & 0 deletions grafana/resource_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func ResourceRole() *schema.Resource {
"scope": {
Type: schema.TypeString,
Optional: true,
Default: "",
Description: "Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`)",
},
},
Expand Down

0 comments on commit b05fa59

Please sign in to comment.