Skip to content

Commit

Permalink
Fix credentials config
Browse files Browse the repository at this point in the history
  • Loading branch information
dnys1 committed Aug 20, 2024
1 parent cd781a9 commit 63b7fd1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import (

lrauto "cloud.google.com/go/longrunning/autogen"
servicemanagement "cloud.google.com/go/servicemanagement/apiv1"
"github.com/hashicorp/terraform-plugin-framework-validators/providervalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/provider"
"github.com/hashicorp/terraform-plugin-framework/provider/schema"
"github.com/hashicorp/terraform-plugin-framework/resource"
Expand Down Expand Up @@ -80,9 +78,7 @@ func (p *UtilsProvider) Schema(ctx context.Context, req provider.SchemaRequest,
}

func (p *UtilsProvider) ConfigValidators(ctx context.Context) []provider.ConfigValidator {
return []provider.ConfigValidator{
providervalidator.Conflicting(path.MatchRoot("credentials"), path.MatchRoot("access_token")),
}
return []provider.ConfigValidator{}
}

func (p *UtilsProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse) {
Expand Down

0 comments on commit 63b7fd1

Please sign in to comment.