Skip to content

Commit 3ece335

Browse files
committed
Run make gen after migration guide update
1 parent a22ccaa commit 3ece335

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

docs/guides/v1-to-v2-migration.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ page_title: "Migrate from v1 to v2"
44

55
# Migrate from v1 to v2
66

7-
Version 2.0.0 of the Coder provider for Terraform is a major release that removes the following deprecated data sources and their properties:
7+
Version 2 of the Coder provider for Terraform is a major release that removes the following deprecated data sources and attributes:
88

99
- `coder_git_auth` data source
1010
- All owner properties from the [`coder_workspace`](../docs/data-sources/workspace.md) data source
11+
- `feature_use_managed_variables` attribute from the `provider` block
1112

1213
## Migrating `coder_git_auth` data source
1314

1415
If you are using this data source, you must replace it with the [`coder_external_auth`](../docs/data-sources/external-auth.md) data source. The `coder_external_auth` data source is a more generic data source that can be used to create any external authentication provider.
1516

16-
### v1.0.0
17+
### v1
1718
```terraform
1819
1920
data "coder_git_auth" "example" {
2021
id = "example"
2122
}
2223
```
23-
### v2.0.0
24+
### v2
2425
```terraform
2526
data "coder_external_auth" "example" {
2627
id = "example"
@@ -32,7 +33,7 @@ data "coder_external_auth" "example" {
3233

3334
If you are using the `owner` properties of the `coder_workspace` data source, you must remove them and use the `coder_workspace_owner` data source instead. The `coder_workspace_owner` data source is a more generic data source that provide additional properties of the workspace owner.
3435

35-
| `v1.0.0` | `v2.0.0` |
36+
| `v1` | `v2` |
3637
|-----------|----------|
3738
| `data.coder_workspace.me.owner_id` | `data.coder_workspace_owner.me.id` |
3839
| `data.coder_workspace.me.owner` | `data.coder_workspace_owner.me.name` |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/coder/terraform-provider-coder
22

33
go 1.22
44

5-
toolchain go1.22.3
5+
toolchain go1.22.9
66

77
require (
88
github.com/docker/docker v26.1.5+incompatible

templates/guides/v1-to-v2-migration.md.tmpl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@ page_title: "Migrate from v1 to v2"
44

55
# Migrate from v1 to v2
66

7-
Version 2.0.0 of the Coder provider for Terraform is a major release that removes the following deprecated data sources and their properties:
7+
Version 2 of the Coder provider for Terraform is a major release that removes the following deprecated data sources and attributes:
88

99
- `coder_git_auth` data source
1010
- All owner properties from the [`coder_workspace`](../docs/data-sources/workspace.md) data source
11+
- `feature_use_managed_variables` attribute from the `provider` block
1112

1213
## Migrating `coder_git_auth` data source
1314

1415
If you are using this data source, you must replace it with the [`coder_external_auth`](../docs/data-sources/external-auth.md) data source. The `coder_external_auth` data source is a more generic data source that can be used to create any external authentication provider.
1516

16-
### v1.0.0
17+
### v1
1718
```terraform
18-
1919
data "coder_git_auth" "example" {
2020
id = "example"
2121
}
2222
```
23-
### v2.0.0
23+
24+
### v2
2425
```terraform
2526
data "coder_external_auth" "example" {
2627
id = "example"
@@ -32,7 +33,7 @@ data "coder_external_auth" "example" {
3233

3334
If you are using the `owner` properties of the `coder_workspace` data source, you must remove them and use the `coder_workspace_owner` data source instead. The `coder_workspace_owner` data source is a more generic data source that provide additional properties of the workspace owner.
3435

35-
| `v1.0.0` | `v2.0.0` |
36+
| `v1` | `v2` |
3637
|-----------|----------|
3738
| `data.coder_workspace.me.owner_id` | `data.coder_workspace_owner.me.id` |
3839
| `data.coder_workspace.me.owner` | `data.coder_workspace_owner.me.name` |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy