Skip to content

Commit 4129233

Browse files
committed
fix build errors
1 parent 1470e65 commit 4129233

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

mmv1/third_party/terraform/fwprovider/framework_provider.go.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/hashicorp/terraform-provider-google/google/functions"
2222
"github.com/hashicorp/terraform-provider-google/google/fwmodels"
2323
"github.com/hashicorp/terraform-provider-google/google/services/resourcemanager"
24-
"github.com/hashicorp/terraform-provider-google/version"
24+
"github.com/hashicorp/terraform-provider-google/version"
2525
{{- if ne $.TargetVersionName "ga" }}
2626
"github.com/hashicorp/terraform-provider-google/google/services/firebase"
2727
{{- end }}
@@ -264,7 +264,7 @@ func (p *FrameworkProvider) Schema(_ context.Context, _ provider.SchemaRequest,
264264
"service_account_email": schema.StringAttribute{
265265
Required: true,
266266
Validators: []validator.String{
267-
fwvalidators.ServiceAccountEmailValidator(),
267+
fwvalidators.ServiceAccountEmailValidator{},
268268
},
269269
},
270270
"identity_token_file": schema.StringAttribute{

mmv1/third_party/terraform/fwvalidators/framework_validators.go

+2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ package fwvalidators
22

33
import (
44
"context"
5+
"encoding/base64"
56
"fmt"
67
"os"
78
"regexp"
9+
"strings"
810
"time"
911

1012
"github.com/hashicorp/terraform-plugin-framework/schema/validator"

mmv1/third_party/terraform/provider/provider_validators.go.tmpl

+3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ package provider
22

33
import (
44
"context"
5+
"encoding/base64"
56
"fmt"
67
"os"
8+
"regexp"
9+
"strings"
710

811
googleoauth "golang.org/x/oauth2/google"
912
)

0 commit comments

Comments
 (0)