Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: remove deprecated coder_git_auth data source #254

Merged
merged 2 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions docs/data-sources/git_auth.md

This file was deleted.

20 changes: 0 additions & 20 deletions examples/data-sources/coder_git_auth/data-source.tf

This file was deleted.

3 changes: 1 addition & 2 deletions integration/test-data-source/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ terraform {
}
}

// TODO: test coder_external_auth and coder_git_auth
// TODO: test coder_external_auth
// data coder_external_auth "me" {}
// data coder_git_auth "me" {}
data "coder_provisioner" "me" {}
data "coder_workspace" "me" {}
data "coder_workspace_owner" "me" {}
Expand Down
3 changes: 1 addition & 2 deletions integration/workspace-owner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ terraform {
}
}

// TODO: test coder_external_auth and coder_git_auth
// TODO: test coder_external_auth
// data coder_external_auth "me" {}
// data coder_git_auth "me" {}
data "coder_provisioner" "me" {}
data "coder_workspace" "me" {}
data "coder_workspace_owner" "me" {}
Expand Down
53 changes: 0 additions & 53 deletions provider/gitauth.go

This file was deleted.

44 changes: 0 additions & 44 deletions provider/gitauth_test.go

This file was deleted.

1 change: 0 additions & 1 deletion provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ func New() *schema.Provider {
"coder_workspace_tags": workspaceTagDataSource(),
"coder_provisioner": provisionerDataSource(),
"coder_parameter": parameterDataSource(),
"coder_git_auth": gitAuthDataSource(),
"coder_external_auth": externalAuthDataSource(),
"coder_workspace_owner": workspaceOwnerDataSource(),
},
Expand Down
3 changes: 0 additions & 3 deletions provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ func TestProviderEmpty(t *testing.T) {
data "coder_external_auth" "git" {
id = "git"
}
data "coder_git_auth" "git" {
id = "git"
}
data "coder_parameter" "param" {
name = "hey"
}`,
Expand Down
Loading