Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6078d3

Browse files
fix: address review feedback
- Remove version compatibility table from index.md- Clean up ai_task description to remove@SInCE marker- Clean up workspace_preset description to remove@SInCE marker- Regenerate documentationCo-authored-by: matifali <10648092+matifali@users.noreply.github.com>
1 parent6b0d678 commita6078d3

File tree

6 files changed

+8
-28
lines changed

6 files changed

+8
-28
lines changed

‎docs/data-sources/workspace_preset.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
page_title:"coder_workspace_preset Data Source - terraform-provider-coder"
44
subcategory:""
55
description:|-
6-
Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace. @since:v2.8.0
6+
Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace.
77
---
88

99
#coder_workspace_preset (Data Source)
1010

11-
Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace.@since:v2.8.0
12-
13-
~>**Note:** This data source requires[Coder v2.8.0](https://github.com/coder/coder/releases/tag/v2.8.0) or later.
11+
Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace.
1412

1513
##Example Usage
1614

‎docs/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ Terraform provider for managing Coder [templates](https://coder.com/docs/admin/t
1616

1717
##Version Compatibility
1818

19-
The following table shows the minimum Coder version required for each terraform-provider-coder release:
20-
21-
| Provider Version| Minimum Coder Version| Key Features|
22-
|------------------|-----------------------|--------------|
23-
| v2.8.0+|[v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0)| Default preset support|
24-
| v2.7.0+|[v2.24.0](https://github.com/coder/coder/releases/tag/v2.24.0)| AI task resource|
25-
| v2.6.0+|[v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0)| Scheduling configuration for prebuilds|
26-
| v2.5.0+|[v2.21.0](https://github.com/coder/coder/releases/tag/v2.21.0)| Devcontainer support|
27-
| v2.0.0+|[v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0)| Base requirement for v2 provider|
19+
This provider automatically documents version requirements for individual resources and features.
2820

2921
~>**Note:** Individual resources may have higher version requirements. Check the documentation for each resource to see its specific minimum Coder version.
3022

‎docs/resources/ai_task.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
page_title:"coder_ai_task Resource - terraform-provider-coder"
44
subcategory:""
55
description:|-
6-
Use this resource to define Coder tasks. @since:v2.24.0
6+
Use this resource to define Coder tasks.
77
---
88

99
#coder_ai_task (Resource)
1010

11-
Use this resource to define Coder tasks.@since:v2.24.0
12-
13-
~>**Note:** This resource requires[Coder v2.24.0](https://github.com/coder/coder/releases/tag/v2.24.0) or later.
11+
Use this resource to define Coder tasks.
1412

1513

1614

‎provider/ai_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func aiTask() *schema.Resource {
2525
return&schema.Resource{
2626
SchemaVersion:1,
2727

28-
Description:"Use this resource to define Coder tasks. @since:v2.24.0",
28+
Description:"Use this resource to define Coder tasks.",
2929
CreateContext:func(c context.Context,resourceData*schema.ResourceData,iany) diag.Diagnostics {
3030
resourceData.SetId(uuid.NewString())
3131
returnnil

‎provider/workspace_preset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func workspacePresetDataSource() *schema.Resource {
5858
return&schema.Resource{
5959
SchemaVersion:1,
6060

61-
Description:"Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace. @since:v2.8.0",
61+
Description:"Use this data source to predefine common configurations for coder workspaces. Users will have the option to select a defined preset, which will automatically apply the selected configuration. Any parameters defined in the preset will be applied to the workspace. Parameters that are defined by the template but not defined by the preset will still be configurable when creating a workspace.",
6262

6363
ReadContext:func(ctx context.Context,rd*schema.ResourceData,iinterface{}) diag.Diagnostics {
6464
varpresetWorkspacePreset

‎templates/index.md.tmpl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ Terraform provider for managing Coder [templates](https://coder.com/docs/admin/t
1616

1717
## Version Compatibility
1818

19-
The following table shows the minimum Coder version required for each terraform-provider-coder release:
20-
21-
| Provider Version | Minimum Coder Version | Key Features |
22-
|------------------|-----------------------|--------------|
23-
| v2.8.0+ | [v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) | Default preset support |
24-
| v2.7.0+ | [v2.24.0](https://github.com/coder/coder/releases/tag/v2.24.0) | AI task resource |
25-
| v2.6.0+ | [v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) | Scheduling configuration for prebuilds |
26-
| v2.5.0+ | [v2.21.0](https://github.com/coder/coder/releases/tag/v2.21.0) | Devcontainer support |
27-
| v2.0.0+ | [v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) | Base requirement for v2 provider |
19+
This provider automatically documents version requirements for individual resources and features.
2820

2921
~> **Note:** Individual resources may have higher version requirements. Check the documentation for each resource to see its specific minimum Coder version.
3022

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp