Skip to content

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
theoremoon committed Apr 1, 2024
1 parent 21bfce5 commit e67d21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/member.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ resource "hatenablog-members_member" "example" {

### Required

- `role` (String) Role of the blog member.
- `role` (String) Role of the blog member. Role must be one of 'admin'(管理者), 'editor'(編集者), or 'contributor'(寄稿者).
- `username` (String) The Hatena ID of the blog member.
2 changes: 1 addition & 1 deletion internal/provider/resource_hatenablog_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (r *BlogMemberResource) Schema(_ context.Context, req resource.SchemaReques
},
"role": schema.StringAttribute{
Required: true,
Description: "Role of the blog member.",
Description: "Role of the blog member. Role must be one of 'admin'(管理者), 'editor'(編集者), or 'contributor'(寄稿者).",
Validators: []validator.String{
stringvalidator.OneOf("admin", "editor", "contributor"),
},
Expand Down

0 comments on commit e67d21b

Please sign in to comment.