Skip to content

Commit

Permalink
Fix name and schema
Browse files Browse the repository at this point in the history
  • Loading branch information
csquire committed Dec 5, 2024
1 parent 1ce55b4 commit e340fc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkg/framework/objects/azure_dev_ops_project/data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package azure_dev_ops_project
import (
"context"
"fmt"

"github.com/dbt-labs/terraform-provider-dbtcloud/pkg/dbt_cloud"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand All @@ -27,7 +26,7 @@ func (d *azureDevOpsProjectDataSource) Metadata(
req datasource.MetadataRequest,
resp *datasource.MetadataResponse,
) {
resp.TypeName = req.ProviderTypeName + "azure_dev_ops_project"
resp.TypeName = req.ProviderTypeName + "_azure_dev_ops_project"
}

func (d *azureDevOpsProjectDataSource) Read(
Expand Down
4 changes: 2 additions & 2 deletions pkg/framework/objects/azure_dev_ops_project/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ based on its name.
This data source requires connecting with a user token and doesn't work with a service token.`,
Attributes: map[string]schema.Attribute{
"id": schema.StringAttribute{
Required: true,
Computed: true,
Description: "The internal Azure Dev Ops ID of the ADO Project",
},
"name": schema.StringAttribute{
Required: true,
Description: "The name of the ADO project",
},
"url": schema.StringAttribute{
Required: true,
Computed: true,
Description: "The URL of the ADO project",
},
},
Expand Down

0 comments on commit e340fc6

Please sign in to comment.