diff --git a/docs/resources/role.md b/docs/resources/role.md index 944afac60..fb71c2869 100644 --- a/docs/resources/role.md +++ b/docs/resources/role.md @@ -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 diff --git a/grafana/resource_role.go b/grafana/resource_role.go index ec1158f6f..d693a495d 100644 --- a/grafana/resource_role.go +++ b/grafana/resource_role.go @@ -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`)", }, },