Skip to content

Commit

Permalink
Replace 'Deployment' refs with 'Work Pool'
Browse files Browse the repository at this point in the history
copypasta
  • Loading branch information
mitchnielsen committed Feb 28, 2025
1 parent ee71594 commit f26f488
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/resources/work_pool_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ resource "prefect_work_pool_access" "test" {
### Optional

- `account_id` (String) Account ID (UUID)
- `manage_actor_ids` (List of String) List of actor IDs with manage access to the Deployment
- `manage_team_ids` (List of String) List of team IDs with manage access to the Deployment
- `run_actor_ids` (List of String) List of actor IDs with run access to the Deployment
- `run_team_ids` (List of String) List of team IDs with run access to the Deployment
- `view_actor_ids` (List of String) List of actor IDs with view access to the Deployment
- `view_team_ids` (List of String) List of team IDs with view access to the Deployment
- `manage_actor_ids` (List of String) List of actor IDs with manage access to the Work Pool
- `manage_team_ids` (List of String) List of team IDs with manage access to the Work Pool
- `run_actor_ids` (List of String) List of actor IDs with run access to the Work Pool
- `run_team_ids` (List of String) List of team IDs with run access to the Work Pool
- `view_actor_ids` (List of String) List of actor IDs with view access to the Work Pool
- `view_team_ids` (List of String) List of team IDs with view access to the Work Pool
- `workspace_id` (String) Workspace ID (UUID)
12 changes: 6 additions & 6 deletions internal/provider/resources/work_pool_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,41 +92,41 @@ func (r *WorkPoolAccessResource) Schema(_ context.Context, _ resource.SchemaRequ
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
ElementType: types.StringType,
Description: "List of actor IDs with manage access to the Deployment",
Description: "List of actor IDs with manage access to the Work Pool",
},
"run_actor_ids": schema.ListAttribute{
Optional: true,
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
ElementType: types.StringType,
Description: "List of actor IDs with run access to the Deployment",
Description: "List of actor IDs with run access to the Work Pool",
},
"view_actor_ids": schema.ListAttribute{
Optional: true,
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
ElementType: types.StringType,
Description: "List of actor IDs with view access to the Deployment",
Description: "List of actor IDs with view access to the Work Pool",
},
"manage_team_ids": schema.ListAttribute{
Optional: true,
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
Description: "List of team IDs with manage access to the Deployment",
Description: "List of team IDs with manage access to the Work Pool",
ElementType: types.StringType,
},
"run_team_ids": schema.ListAttribute{
Optional: true,
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
Description: "List of team IDs with run access to the Deployment",
Description: "List of team IDs with run access to the Work Pool",
ElementType: types.StringType,
},
"view_team_ids": schema.ListAttribute{
Optional: true,
Computed: true,
Default: listdefault.StaticValue(defaultEmptyList),
Description: "List of team IDs with view access to the Deployment",
Description: "List of team IDs with view access to the Work Pool",
ElementType: types.StringType,
},
},
Expand Down

0 comments on commit f26f488

Please sign in to comment.