Skip to content

Commit

Permalink
Remove deployments datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
danafallon committed Jul 29, 2024
1 parent 02aa6be commit 068cfc6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 178 deletions.
31 changes: 0 additions & 31 deletions docs/data-sources/deployments.md

This file was deleted.

6 changes: 0 additions & 6 deletions examples/deployments/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,3 @@ resource "artie_deployment" "example" {
# }
# advanced_settings = {}
# }

# data "artie_deployments" "example" {}

# output "deployments" {
# value = data.artie_deployments.example.deployments
# }
138 changes: 0 additions & 138 deletions internal/provider/deployments_data_source.go

This file was deleted.

4 changes: 1 addition & 3 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ func (p *ArtieProvider) Resources(ctx context.Context) []func() resource.Resourc
}

func (p *ArtieProvider) DataSources(ctx context.Context) []func() datasource.DataSource {
return []func() datasource.DataSource{
NewDeploymentsDataSource,
}
return []func() datasource.DataSource{}
}

func (p *ArtieProvider) Functions(ctx context.Context) []func() function.Function {
Expand Down

0 comments on commit 068cfc6

Please sign in to comment.