8000 feat: Remove deprecated `coder_git_auth` data source · coder/terraform-provider-coder@f9df3bc · GitHub
[go: up one dir, main page]

Skip to content
  • Commit f9df3bc

    Browse files
    committed
    feat: Remove deprecated coder_git_auth data source
    The `coder_git_auth` data source has been deprecated and replaced with the `coder_external_auth` data source. This commit removes the deprecated data source and its associated test file.
    1 parent d2e2d96 commit f9df3bc

    File tree

    5 files changed

    +0
    -153
    lines changed

    5 files changed

    +0
    -153
    lines changed

    docs/data-sources/git_auth.md

    Lines changed: 0 additions & 52 deletions
    This file was deleted.

    provider/gitauth.go

    Lines changed: 0 additions & 53 deletions
    This file was deleted.

    provider/gitauth_test.go

    Lines changed: 0 additions & 44 deletions
    This file was deleted.

    provider/provider.go

    Lines changed: 0 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -72,7 +72,6 @@ func New() *schema.Provider {
    7272
    "coder_workspace_tags": workspaceTagDataSource(),
    7373
    "coder_provisioner": provisionerDataSource(),
    7474
    "coder_parameter": parameterDataSource(),
    75-
    "coder_git_auth": gitAuthDataSource(),
    7675
    "coder_external_auth": externalAuthDataSource(),
    7776
    "coder_workspace_owner": workspaceOwnerDataSource(),
    7877
    },

    provider/provider_test.go

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -37,9 +37,6 @@ func TestProviderEmpty(t *testing.T) {
    3737
    data "coder_external_auth" "git" {
    3838
    id = "git"
    3939
    }
    40-
    data "coder_git_auth" "git" {
    41-
    id = "git"
    42-
    }
    4340
    data "coder_parameter" "param" {
    4441
    name = "hey"
    4542
    }`,

    0 commit comments

    Comments
     (0)
    0