You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
feat: implement automated version documentation system
Implements a maintainable system for documenting minimum Coder versionrequirements for each resource and data source.Changes:- Add resource_versions.go with version registry that developers must update- Modify docsgen to automatically inject version information into docs- Add version compatibility matrix to provider index page- Add developer documentation for maintaining version requirements- All resources now show their minimum required Coder versionThis ensures users can easily identify version requirements and preventscompatibility issues.Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/data-sources/external_auth.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ description: |-
10
10
11
11
Use this data source to require users to authenticate with an external service prior to workspace creation. This can be used to[pre-authenticate external services](https://coder.com/docs/admin/external-auth) in a workspace. (e.g. Google Cloud, Github, Docker, etc.)
12
12
13
+
~>**Note:** This data source requires[Coder v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) or later.
Copy file name to clipboardExpand all lines: docs/data-sources/workspace_preset.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ description: |-
10
10
11
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.
12
12
13
+
~>**Note:** This data source requires[Coder v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) or later.
Copy file name to clipboardExpand all lines: docs/index.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,20 @@ Terraform provider for managing Coder [templates](https://coder.com/docs/admin/t
14
14
15
15
!>[`coder_git_auth`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/git_auth) and owner related fields of[`coder_workspace`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/workspace) data source have been removed. Follow the[Version 2 Upgrade Guide](https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade) to update your code.
16
16
17
+
##Version Compatibility
18
+
19
+
The following table shows the minimum Coder version required for each terraform-provider-coder release:
| v2.0.0+|[v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0)| Base requirement for v2 provider|
28
+
29
+
~>**Note:** Individual resources may have higher version requirements. Check the documentation for each resource to see its specific minimum Coder version.
Copy file name to clipboardExpand all lines: docs/resources/agent_instance.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ description: |-
10
10
11
11
Use this resource to associate an instance ID with an agent for zero-trust authentication. This association is done automatically for`"google_compute_instance"`,`"aws_instance"`,`"azurerm_linux_virtual_machine"`, and`"azurerm_windows_virtual_machine"` resources.
12
12
13
+
~>**Note:** This resource requires[Coder v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) or later.