Skip to content

Commit

Permalink
Update folder docs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchang authored Nov 13, 2024
1 parent 3169773 commit 7cbedc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ go.work.sum

.DS_Store

.idea

*.tfstate
*.tfstate.backup
2 changes: 1 addition & 1 deletion docs/resources/folder.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "retool_folder" "resource_example" {

### Required

- `folder_type` (String) The type of the folder: (app|file|resource|workflow).
- `folder_type` (String) The type of the folder: (app|resource|workflow).
- `name` (String) The name of the folder.

### Optional
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/folder/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (r *folderResource) Schema(_ context.Context, _ resource.SchemaRequest, res
},
"folder_type": schema.StringAttribute{
Required: true,
Description: "The type of the folder: (app|file|resource|workflow).",
Description: "The type of the folder: (app|resource|workflow).",
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(), // Changing the folder type requires replacing the resource.
},
Expand Down

0 comments on commit 7cbedc6

Please sign in to comment.