diff --git a/pkg/framework/objects/azure_dev_ops_project/data_source.go b/pkg/framework/objects/azure_dev_ops_project/data_source.go index 0c25a02..3abfb87 100644 --- a/pkg/framework/objects/azure_dev_ops_project/data_source.go +++ b/pkg/framework/objects/azure_dev_ops_project/data_source.go @@ -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" @@ -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( diff --git a/pkg/framework/objects/azure_dev_ops_project/schema.go b/pkg/framework/objects/azure_dev_ops_project/schema.go index a0b7b64..ea2996c 100644 --- a/pkg/framework/objects/azure_dev_ops_project/schema.go +++ b/pkg/framework/objects/azure_dev_ops_project/schema.go @@ -19,7 +19,7 @@ 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{ @@ -27,7 +27,7 @@ This data source requires connecting with a user token and doesn't work with a s Description: "The name of the ADO project", }, "url": schema.StringAttribute{ - Required: true, + Computed: true, Description: "The URL of the ADO project", }, },