diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1d9a3758..20b03217 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ export ZITADEL_DEV_UID="$(id -u)" docker compose --file ./acceptance/docker-compose.yaml run setup ``` -Run the accepance tests using the machine key generated by ZITADEL. +Run the acceptance tests using the machine key generated by ZITADEL. ```bash TF_ACC=1 go test ./... @@ -42,7 +42,7 @@ go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3 run --fix # Generate Docs 1. Manually maintain files in /templates and /examples -1. Generate the docs +2. Generate the docs ```bash go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.14.1 generate ``` diff --git a/acceptance/docker-compose.yaml b/acceptance/docker-compose.yaml index 6900b1df..0112bd8b 100644 --- a/acceptance/docker-compose.yaml +++ b/acceptance/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3.8' services: db: - image: 'cockroachdb/cockroach:v23.1.13' + image: 'cockroachdb/cockroach:v24.1.0' command: 'start-single-node --insecure --http-addr :9090' healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1'] @@ -15,7 +15,7 @@ services: zitadel: user: '${ZITADEL_DEV_UID}' - image: '${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:v2.43.4}' + image: '${ZITADEL_IMAGE:-ghcr.io/zitadel/zitadel:v2.58.3}' command: 'start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled --config /zitadel.yaml --steps /zitadel.yaml' ports: - "8080:8080" diff --git a/gen.sh b/gen.sh index 506392e0..3ec1faa4 100755 --- a/gen.sh +++ b/gen.sh @@ -9,6 +9,6 @@ protoc \ $(go env GOPATH)/src/github.com/zitadel/zitadel/proto/zitadel/text.proto sed -i 's#_ "github.com/zitadel/zitadel/pkg/grpc/object"##g' gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go -sed -i 's#textpb "textpb"#textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text"#g' gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go +sed -i 's#textpb "textpb"#textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text"#g' gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go sed -i 's/U2f/U2F/g' gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go diff --git a/gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go b/gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go index 2d2bcb7c..11e7a1e1 100644 --- a/gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go +++ b/gen/github.com/zitadel/zitadel/pkg/grpc/text/text_terraform.go @@ -21,7 +21,7 @@ package text import ( context "context" fmt "fmt" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" math "math" _ "github.com/envoyproxy/protoc-gen-validate/validate" @@ -253,6 +253,11 @@ func GenSchemaLoginCustomText(ctx context.Context) (github_com_hashicorp_terrafo Optional: true, Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, }, + "support_email": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, "tos": { Description: "", Optional: true, @@ -573,6 +578,32 @@ func GenSchemaLoginCustomText(ctx context.Context) (github_com_hashicorp_terrafo Description: "", Optional: true, }, + "linking_user_prompt_text": { + Attributes: github_com_hashicorp_terraform_plugin_framework_tfsdk.SingleNestedAttributes(map[string]github_com_hashicorp_terraform_plugin_framework_tfsdk.Attribute{ + "description": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, + "link_button_text": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, + "other_button_text": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, + "title": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, + }), + Description: "", + Optional: true, + }, "login_text": { Attributes: github_com_hashicorp_terraform_plugin_framework_tfsdk.SingleNestedAttributes(map[string]github_com_hashicorp_terraform_plugin_framework_tfsdk.Attribute{ "description": { @@ -715,6 +746,11 @@ func GenSchemaLoginCustomText(ctx context.Context) (github_com_hashicorp_terrafo Optional: true, Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, }, + "expired_description": { + Description: "", + Optional: true, + Type: github_com_hashicorp_terraform_plugin_framework_types.StringType, + }, "new_password_confirm_label": { Description: "", Optional: true, @@ -2139,6 +2175,23 @@ func CopyLoginCustomTextFromTerraform(_ context.Context, tf github_com_hashicorp } } } + { + a, ok := tf.Attrs["support_email"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.footer_text.support_email"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.footer_text.support_email", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.SupportEmail = t + } + } + } { a, ok := tf.Attrs["tos"] if !ok { @@ -3155,6 +3208,92 @@ func CopyLoginCustomTextFromTerraform(_ context.Context, tf github_com_hashicorp } } } + { + a, ok := tf.Attrs["linking_user_prompt_text"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.linking_user_prompt_text"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.Object) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.linking_user_prompt_text", "github.com/hashicorp/terraform-plugin-framework/types.Object"}) + } else { + obj.LinkingUserPromptText = nil + if !v.Null && !v.Unknown { + tf := v + obj.LinkingUserPromptText = &textpb.LinkingUserPromptScreenText{} + obj := obj.LinkingUserPromptText + { + a, ok := tf.Attrs["description"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.linking_user_prompt_text.description"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.description", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.Description = t + } + } + } + { + a, ok := tf.Attrs["link_button_text"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.linking_user_prompt_text.link_button_text"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.link_button_text", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.LinkButtonText = t + } + } + } + { + a, ok := tf.Attrs["other_button_text"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.linking_user_prompt_text.other_button_text"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.other_button_text", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.OtherButtonText = t + } + } + } + { + a, ok := tf.Attrs["title"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.linking_user_prompt_text.title"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.title", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.Title = t + } + } + } + } + } + } + } { a, ok := tf.Attrs["login_text"] if !ok { @@ -3615,6 +3754,23 @@ func CopyLoginCustomTextFromTerraform(_ context.Context, tf github_com_hashicorp } } } + { + a, ok := tf.Attrs["expired_description"] + if !ok { + diags.Append(attrReadMissingDiag{"LoginCustomText.password_change_text.expired_description"}) + } else { + v, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrReadConversionFailureDiag{"LoginCustomText.password_change_text.expired_description", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } else { + var t string + if !v.Null && !v.Unknown { + t = string(v.Value) + } + obj.ExpiredDescription = t + } + } + } { a, ok := tf.Attrs["new_password_confirm_label"] if !ok { @@ -5763,7 +5919,7 @@ func CopyLoginCustomTextFromTerraform(_ context.Context, tf github_com_hashicorp } // CopyLoginCustomTextToTerraform copies contents of the source Terraform object into a target struct -func CopyLoginCustomTextToTerraform(ctx context.Context, obj textpb.LoginCustomText, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics { +func CopyLoginCustomTextToTerraform(ctx context.Context, obj *textpb.LoginCustomText, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics { var diags github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics tf.Null = false tf.Unknown = false @@ -6738,6 +6894,28 @@ func CopyLoginCustomTextToTerraform(ctx context.Context, obj textpb.LoginCustomT tf.Attrs["privacy_policy"] = v } } + { + t, ok := tf.AttrTypes["support_email"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.footer_text.support_email"}) + } else { + v, ok := tf.Attrs["support_email"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.footer_text.support_email", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.footer_text.support_email", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.SupportEmail) == "" + } + v.Value = string(obj.SupportEmail) + v.Unknown = false + tf.Attrs["support_email"] = v + } + } { t, ok := tf.AttrTypes["tos"] if !ok { @@ -8132,6 +8310,126 @@ func CopyLoginCustomTextToTerraform(ctx context.Context, obj textpb.LoginCustomT } } } + { + a, ok := tf.AttrTypes["linking_user_prompt_text"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.linking_user_prompt_text"}) + } else { + o, ok := a.(github_com_hashicorp_terraform_plugin_framework_types.ObjectType) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.linking_user_prompt_text", "github.com/hashicorp/terraform-plugin-framework/types.ObjectType"}) + } else { + v, ok := tf.Attrs["linking_user_prompt_text"].(github_com_hashicorp_terraform_plugin_framework_types.Object) + if !ok { + v = github_com_hashicorp_terraform_plugin_framework_types.Object{ + + AttrTypes: o.AttrTypes, + Attrs: make(map[string]github_com_hashicorp_terraform_plugin_framework_attr.Value, len(o.AttrTypes)), + } + } else { + if v.Attrs == nil { + v.Attrs = make(map[string]github_com_hashicorp_terraform_plugin_framework_attr.Value, len(tf.AttrTypes)) + } + } + if obj.LinkingUserPromptText == nil { + v.Null = true + } else { + obj := obj.LinkingUserPromptText + tf := &v + { + t, ok := tf.AttrTypes["description"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.linking_user_prompt_text.description"}) + } else { + v, ok := tf.Attrs["description"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.linking_user_prompt_text.description", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.description", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.Description) == "" + } + v.Value = string(obj.Description) + v.Unknown = false + tf.Attrs["description"] = v + } + } + { + t, ok := tf.AttrTypes["link_button_text"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.linking_user_prompt_text.link_button_text"}) + } else { + v, ok := tf.Attrs["link_button_text"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.linking_user_prompt_text.link_button_text", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.link_button_text", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.LinkButtonText) == "" + } + v.Value = string(obj.LinkButtonText) + v.Unknown = false + tf.Attrs["link_button_text"] = v + } + } + { + t, ok := tf.AttrTypes["other_button_text"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.linking_user_prompt_text.other_button_text"}) + } else { + v, ok := tf.Attrs["other_button_text"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.linking_user_prompt_text.other_button_text", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.other_button_text", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.OtherButtonText) == "" + } + v.Value = string(obj.OtherButtonText) + v.Unknown = false + tf.Attrs["other_button_text"] = v + } + } + { + t, ok := tf.AttrTypes["title"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.linking_user_prompt_text.title"}) + } else { + v, ok := tf.Attrs["title"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.linking_user_prompt_text.title", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.linking_user_prompt_text.title", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.Title) == "" + } + v.Value = string(obj.Title) + v.Unknown = false + tf.Attrs["title"] = v + } + } + } + v.Unknown = false + tf.Attrs["linking_user_prompt_text"] = v + } + } + } { a, ok := tf.AttrTypes["login_text"] if !ok { @@ -8770,6 +9068,28 @@ func CopyLoginCustomTextToTerraform(ctx context.Context, obj textpb.LoginCustomT tf.Attrs["description"] = v } } + { + t, ok := tf.AttrTypes["expired_description"] + if !ok { + diags.Append(attrWriteMissingDiag{"LoginCustomText.password_change_text.expired_description"}) + } else { + v, ok := tf.Attrs["expired_description"].(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + i, err := t.ValueFromTerraform(ctx, github_com_hashicorp_terraform_plugin_go_tftypes.NewValue(t.TerraformType(ctx), nil)) + if err != nil { + diags.Append(attrWriteGeneralError{"LoginCustomText.password_change_text.expired_description", err}) + } + v, ok = i.(github_com_hashicorp_terraform_plugin_framework_types.String) + if !ok { + diags.Append(attrWriteConversionFailureDiag{"LoginCustomText.password_change_text.expired_description", "github.com/hashicorp/terraform-plugin-framework/types.String"}) + } + v.Null = string(obj.ExpiredDescription) == "" + } + v.Value = string(obj.ExpiredDescription) + v.Unknown = false + tf.Attrs["expired_description"] = v + } + } { t, ok := tf.AttrTypes["new_password_confirm_label"] if !ok { @@ -11805,7 +12125,7 @@ func CopyMessageCustomTextFromTerraform(_ context.Context, tf github_com_hashico } // CopyMessageCustomTextToTerraform copies contents of the source Terraform object into a target struct -func CopyMessageCustomTextToTerraform(ctx context.Context, obj textpb.MessageCustomText, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics { +func CopyMessageCustomTextToTerraform(ctx context.Context, obj *textpb.MessageCustomText, tf *github_com_hashicorp_terraform_plugin_framework_types.Object) github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics { var diags github_com_hashicorp_terraform_plugin_framework_diag.Diagnostics tf.Null = false tf.Unknown = false diff --git a/go.mod b/go.mod index 56e184e1..39ee61fd 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1 github.com/zclconf/go-cty v1.13.1 github.com/zitadel/oidc v1.13.5 - github.com/zitadel/zitadel-go/v2 v2.1.8 + github.com/zitadel/zitadel-go/v3 v3.0.0 golang.org/x/oauth2 v0.22.0 google.golang.org/grpc v1.65.0 google.golang.org/protobuf v1.34.2 @@ -28,6 +28,9 @@ require ( github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/fatih/color v1.15.0 // indirect + github.com/go-jose/go-jose/v4 v4.0.4 // indirect + github.com/go-logr/logr v1.4.2 // indirect + github.com/go-logr/stdr v1.2.2 // indirect github.com/go-test/deep v1.0.7 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/go-cmp v0.6.0 // indirect @@ -56,20 +59,25 @@ require ( github.com/mitchellh/go-wordwrap v1.0.1 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/muhlemmer/gu v0.3.1 // indirect github.com/oklog/run v1.0.0 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect - github.com/stretchr/testify v1.9.0 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect github.com/vmihailenco/tagparser v0.1.1 // indirect - github.com/zitadel/zitadel-go/v3 v3.0.0 // indirect + github.com/zitadel/logging v0.6.0 // indirect + github.com/zitadel/oidc/v3 v3.26.0 // indirect + github.com/zitadel/schema v1.3.0 // indirect + go.opentelemetry.io/otel v1.28.0 // indirect + go.opentelemetry.io/otel/metric v1.28.0 // indirect + go.opentelemetry.io/otel/trace v1.28.0 // indirect golang.org/x/crypto v0.25.0 // indirect - golang.org/x/mod v0.17.0 // indirect + golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect + golang.org/x/mod v0.19.0 // indirect golang.org/x/net v0.27.0 // indirect golang.org/x/sys v0.23.0 // indirect golang.org/x/text v0.16.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect diff --git a/go.sum b/go.sum index 69f3a784..d9c4beba 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,8 @@ github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkE github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I= +github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -35,6 +37,8 @@ github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI github.com/gabriel-vasile/mimetype v1.4.1 h1:TRWk7se+TOjCYgRth7+1/OYLNiRNIotknkFtf/dnN7Q= github.com/gabriel-vasile/mimetype v1.4.1/go.mod h1:05Vi0w3Y9c/lNvJOdmIwvrrAhX3rYhfQQCaf9VJcv7M= github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= +github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= @@ -43,6 +47,13 @@ github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI github.com/go-git/go-git-fixtures/v4 v4.2.1/go.mod h1:K8zd3kDUAykwTdDCr+I0per6Y6vMiRR/nnVTBtavnB0= github.com/go-git/go-git/v5 v5.4.2 h1:BXyZu9t0VkbiHtqrsvdq39UDhGJTl1h55VW6CSC4aY4= github.com/go-git/go-git/v5 v5.4.2/go.mod h1:gQ1kArt6d+n+BGd+/B/I74HwRTLhth2+zti4ihgckDc= +github.com/go-jose/go-jose/v4 v4.0.4 h1:VsjPI33J0SB9vQM6PLmNjoHqMQNGPiZ0rHL7Ni7Q6/E= +github.com/go-jose/go-jose/v4 v4.0.4/go.mod h1:NKb5HO1EZccyMpiZNbdUw/14tiXNyUJh188dfnMCAfc= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-test/deep v1.0.7 h1:/VSMRlnY/JSyqxQUzQLKVMAskpY/NZKFA5j2P+0pP2M= github.com/go-test/deep v1.0.7/go.mod h1:QV8Hv/iy04NyLBxAdO9njL0iVPN1S4d/A3NVv1V36o8= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= @@ -53,8 +64,7 @@ github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -62,15 +72,16 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/schema v1.4.1 h1:jUg5hUjCSDZpNGLuXQOgIWGdlgrIdYvgQ0wZtdK1M3E= github.com/gorilla/schema v1.4.1/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM= -github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= -github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= +github.com/gorilla/securecookie v1.1.2 h1:YCIWL56dvtr73r6715mJs5ZvhtnY73hBvEF8kXD8ePA= github.com/gorilla/securecookie v1.1.2/go.mod h1:NfCASbcHqRSY+3a8tlWJwsQap2VX5pwzwo4h3eOamfo= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM= github.com/grpc-ecosystem/grpc-gateway/v2 v2.21.0 h1:CWyXh/jylQWp2dtiV33mY4iSSp6yf4lmn+c7/tN+ObI= github.com/grpc-ecosystem/grpc-gateway/v2 v2.21.0/go.mod h1:nCLIt0w3Ept2NwF8ThLmrppXsfT07oC8k0XNDxd8sVU= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -131,8 +142,11 @@ github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jeremija/gosubmit v0.2.7 h1:At0OhGCFGPXyjPYAsCchoBUhE099pcBXmsb4iZqROIc= +github.com/jeremija/gosubmit v0.2.7/go.mod h1:Ui+HS073lCFREXBbdfrJzMB57OI/bdxTiLtrDHHhFPI= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE= +github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= @@ -141,12 +155,14 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -174,6 +190,10 @@ github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/muhlemmer/gu v0.3.1 h1:7EAqmFrW7n3hETvuAdmFmn4hS8W+z3LgKtrnow+YzNM= +github.com/muhlemmer/gu v0.3.1/go.mod h1:YHtHR+gxM+bKEIIs7Hmi9sPT3ZDUvTN/i88wQpZkrdM= +github.com/muhlemmer/httpforwarded v0.1.0 h1:x4DLrzXdliq8mprgUMR0olDvHGkou5BJsK/vWUetyzY= +github.com/muhlemmer/httpforwarded v0.1.0/go.mod h1:yo9czKedo2pdZhoXe+yDkGVbU0TJ0q9oQ90BVoDEtw0= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/oklog/run v1.0.0 h1:Ru7dDtJNOyC66gQ5dQmaCa0qIsAUFY3sFpK1Xk8igrw= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= @@ -182,14 +202,17 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/rs/cors v1.11.0 h1:0B9GE/r9Bc2UxRMMtymBkHTenPkHDv0CW4Y98GBY+po= +github.com/rs/cors v1.11.0/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= +github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -199,8 +222,7 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= @@ -217,12 +239,22 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t github.com/zclconf/go-cty v1.1.0/go.mod h1:xnAOWiHeOqg2nWS62VtQ7pbOu17FtxJNW8RLEih+O3s= github.com/zclconf/go-cty v1.13.1 h1:0a6bRwuiSHtAmqCqNOE+c2oHgepv0ctoxU4FUe43kwc= github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zitadel/logging v0.6.0 h1:t5Nnt//r+m2ZhhoTmoPX+c96pbMarqJvW1Vq6xFTank= +github.com/zitadel/logging v0.6.0/go.mod h1:Y4CyAXHpl3Mig6JOszcV5Rqqsojj+3n7y2F591Mp/ow= github.com/zitadel/oidc v1.13.5 h1:7jhh68NGZitLqwLiVU9Dtwa4IraJPFF1vS+4UupO93U= github.com/zitadel/oidc v1.13.5/go.mod h1:rHs1DhU3Sv3tnI6bQRVlFa3u0lCwtR7S21WHY+yXgPA= -github.com/zitadel/zitadel-go/v2 v2.1.8 h1:b+1SoltzphLq0ixYwSuROQBEdBXFAs/5xMGVsQ52Waw= -github.com/zitadel/zitadel-go/v2 v2.1.8/go.mod h1:uHnf22GMpkAdRyFtJ/xUwaqEI5gxRbu4FnKEqpzuclA= +github.com/zitadel/oidc/v3 v3.26.0 h1:BG3OUK+JpuKz7YHJIyUxL5Sl2JV6ePkG42UP4Xv3J2w= +github.com/zitadel/oidc/v3 v3.26.0/go.mod h1:Cx6AYPTJO5q2mjqF3jaknbKOUjpq1Xui0SYvVhkKuXU= +github.com/zitadel/schema v1.3.0 h1:kQ9W9tvIwZICCKWcMvCEweXET1OcOyGEuFbHs4o5kg0= +github.com/zitadel/schema v1.3.0/go.mod h1:NptN6mkBDFvERUCvZHlvWmmME+gmZ44xzwRXwhzsbtc= github.com/zitadel/zitadel-go/v3 v3.0.0 h1:mEkZyayx1o9l8/XIoZcgPlgjnEtIM0621M8zNOagGKk= github.com/zitadel/zitadel-go/v3 v3.0.0/go.mod h1:b+3HqRocliOjfpWgjOukYiS1pXpzOgWdacq1mRfpqCs= +go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo= +go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4= +go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q= +go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s= +go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g= +go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -233,17 +265,16 @@ golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= -golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= -golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs= +golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= +golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -260,13 +291,10 @@ golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5o golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys= golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ= -golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o= +golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -292,26 +320,24 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= +golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -327,23 +353,15 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac h1:ZL/Teoy/ZGnzyrqK/Optxxp2pmVh+fmJ97slxSRyzUg= -google.golang.org/genproto v0.0.0-20240116215550-a9fa1716bcac/go.mod h1:+Rvu7ElI+aLzyDQhpHMFMMltsD6m7nqpuWDd2CwJw3k= -google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe h1:0poefMBYvYbs7g5UkjS6HcxBPaTRAmznle9jnxYoAI8= -google.golang.org/genproto/googleapis/api v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA= google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf h1:GillM0Ef0pkZPIB+5iO6SDK+4T9pf6TpaYR6ICD5rVE= google.golang.org/genproto/googleapis/api v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:OFMYQFHJ4TM3JRlWDZhJbZfra2uqc3WLBZiaaqP4DtU= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe h1:bQnxqljG/wqi4NTXu2+DJ3n7APcEA882QZ1JvhQAq9o= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s= google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf h1:liao9UHurZLtiEwBgT9LMOnKYsHze6eA6w1KQCMVN2Q= google.golang.org/genproto/googleapis/rpc v0.0.0-20240730163845-b1a4ccb954bf/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= -google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0= -google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs= +google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc= google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -357,6 +375,7 @@ gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/zitadel/action/action_test_dep/dependency.go b/zitadel/action/action_test_dep/dependency.go index bbe6ee26..c2b8fa1d 100644 --- a/zitadel/action/action_test_dep/dependency.go +++ b/zitadel/action/action_test_dep/dependency.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/action" diff --git a/zitadel/action/funcs.go b/zitadel/action/funcs.go index 74b00d47..726e174a 100644 --- a/zitadel/action/funcs.go +++ b/zitadel/action/funcs.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/action" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/action" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/action/resource_test.go b/zitadel/action/resource_test.go index c71ec072..a276e9fa 100644 --- a/zitadel/action/resource_test.go +++ b/zitadel/action/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/action" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/application_api/application_api_test_dep/dependency.go b/zitadel/application_api/application_api_test_dep/dependency.go index 16f0be49..44c29384 100644 --- a/zitadel/application_api/application_api_test_dep/dependency.go +++ b/zitadel/application_api/application_api_test_dep/dependency.go @@ -3,8 +3,8 @@ package application_api_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/application_api/datasource.go b/zitadel/application_api/datasource.go index 365dc08b..439c3b90 100644 --- a/zitadel/application_api/datasource.go +++ b/zitadel/application_api/datasource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_api/datasource_test.go b/zitadel/application_api/datasource_test.go index 1880798c..565e25bf 100644 --- a/zitadel/application_api/datasource_test.go +++ b/zitadel/application_api/datasource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api/application_api_test_dep" diff --git a/zitadel/application_api/funcs.go b/zitadel/application_api/funcs.go index ac66146f..464aa1e3 100644 --- a/zitadel/application_api/funcs.go +++ b/zitadel/application_api/funcs.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_api/resource.go b/zitadel/application_api/resource.go index a95443e3..021f9612 100644 --- a/zitadel/application_api/resource.go +++ b/zitadel/application_api/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_api/resource_test.go b/zitadel/application_api/resource_test.go index 9205538d..ddb36209 100644 --- a/zitadel/application_api/resource_test.go +++ b/zitadel/application_api/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/application_key/funcs.go b/zitadel/application_key/funcs.go index 698a19ae..2cbf683e 100644 --- a/zitadel/application_key/funcs.go +++ b/zitadel/application_key/funcs.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/authn" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/authn" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/timestamppb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/application_key/resource.go b/zitadel/application_key/resource.go index 3a3f412f..e1bb6716 100644 --- a/zitadel/application_key/resource.go +++ b/zitadel/application_key/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/authn" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/authn" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_key/resource_test.go b/zitadel/application_key/resource_test.go index 5efe9409..b9bf4533 100644 --- a/zitadel/application_key/resource_test.go +++ b/zitadel/application_key/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api/application_api_test_dep" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_key" diff --git a/zitadel/application_oidc/application_oidc_test_dep/dependency.go b/zitadel/application_oidc/application_oidc_test_dep/dependency.go index d8e0d4a8..947abeeb 100644 --- a/zitadel/application_oidc/application_oidc_test_dep/dependency.go +++ b/zitadel/application_oidc/application_oidc_test_dep/dependency.go @@ -3,7 +3,7 @@ package application_oidc_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_oidc" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/application_oidc/datasource.go b/zitadel/application_oidc/datasource.go index e28b4e61..d8cb41ec 100644 --- a/zitadel/application_oidc/datasource.go +++ b/zitadel/application_oidc/datasource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_oidc/datasource_test.go b/zitadel/application_oidc/datasource_test.go index e4bfb41e..31cb0887 100644 --- a/zitadel/application_oidc/datasource_test.go +++ b/zitadel/application_oidc/datasource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_oidc" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_oidc/application_oidc_test_dep" diff --git a/zitadel/application_oidc/funcs.go b/zitadel/application_oidc/funcs.go index 9a5020c3..242b2eeb 100644 --- a/zitadel/application_oidc/funcs.go +++ b/zitadel/application_oidc/funcs.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/application_oidc/resource.go b/zitadel/application_oidc/resource.go index 1220cafb..f23bde25 100644 --- a/zitadel/application_oidc/resource.go +++ b/zitadel/application_oidc/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_oidc/resource_test.go b/zitadel/application_oidc/resource_test.go index 87046d13..171ce873 100644 --- a/zitadel/application_oidc/resource_test.go +++ b/zitadel/application_oidc/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_oidc" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/application_saml/application_saml_test_dep/dependency.go b/zitadel/application_saml/application_saml_test_dep/dependency.go index 46a60dc3..22f2df62 100644 --- a/zitadel/application_saml/application_saml_test_dep/dependency.go +++ b/zitadel/application_saml/application_saml_test_dep/dependency.go @@ -3,7 +3,7 @@ package application_saml_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_saml" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/application_saml/datasource.go b/zitadel/application_saml/datasource.go index 6d28a94c..02d13c44 100644 --- a/zitadel/application_saml/datasource.go +++ b/zitadel/application_saml/datasource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_saml/datasource_test.go b/zitadel/application_saml/datasource_test.go index c2eede61..49aaea60 100644 --- a/zitadel/application_saml/datasource_test.go +++ b/zitadel/application_saml/datasource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_saml" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_saml/application_saml_test_dep" diff --git a/zitadel/application_saml/funcs.go b/zitadel/application_saml/funcs.go index 493c524a..e190f5ef 100644 --- a/zitadel/application_saml/funcs.go +++ b/zitadel/application_saml/funcs.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/app" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/app" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/application_saml/resource_test.go b/zitadel/application_saml/resource_test.go index a751194f..808557b8 100644 --- a/zitadel/application_saml/resource_test.go +++ b/zitadel/application_saml/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_saml" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_domain_claimed_message_text/resource.go b/zitadel/default_domain_claimed_message_text/resource.go index ff51fee5..f34c2f51 100644 --- a/zitadel/default_domain_claimed_message_text/resource.go +++ b/zitadel/default_domain_claimed_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_domain_claimed_message_text/resource_test.go b/zitadel/default_domain_claimed_message_text/resource_test.go index f62fa48a..5c7d37bd 100644 --- a/zitadel/default_domain_claimed_message_text/resource_test.go +++ b/zitadel/default_domain_claimed_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_domain_claimed_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_domain_policy/funcs.go b/zitadel/default_domain_policy/funcs.go index 512f0158..fabaf29d 100644 --- a/zitadel/default_domain_policy/funcs.go +++ b/zitadel/default_domain_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_domain_policy/resource_test.go b/zitadel/default_domain_policy/resource_test.go index 4dc91761..d93b39e3 100644 --- a/zitadel/default_domain_policy/resource_test.go +++ b/zitadel/default_domain_policy/resource_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_domain_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_init_message_text/resource.go b/zitadel/default_init_message_text/resource.go index e5868165..15c179db 100644 --- a/zitadel/default_init_message_text/resource.go +++ b/zitadel/default_init_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_init_message_text/resource_test.go b/zitadel/default_init_message_text/resource_test.go index 5351c7e8..8931b587 100644 --- a/zitadel/default_init_message_text/resource_test.go +++ b/zitadel/default_init_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_init_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_label_policy/funcs.go b/zitadel/default_label_policy/funcs.go index 4efd8db8..be042851 100644 --- a/zitadel/default_label_policy/funcs.go +++ b/zitadel/default_label_policy/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_label_policy/resource.go b/zitadel/default_label_policy/resource.go index edd88c15..06832cad 100644 --- a/zitadel/default_label_policy/resource.go +++ b/zitadel/default_label_policy/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_label_policy/resource_test.go b/zitadel/default_label_policy/resource_test.go index 6d3c97eb..590ad33c 100644 --- a/zitadel/default_label_policy/resource_test.go +++ b/zitadel/default_label_policy/resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_label_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_lockout_policy/funcs.go b/zitadel/default_lockout_policy/funcs.go index 739f4f57..a8185b99 100644 --- a/zitadel/default_lockout_policy/funcs.go +++ b/zitadel/default_lockout_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_lockout_policy/resource_test.go b/zitadel/default_lockout_policy/resource_test.go index c3c5047a..b81d074b 100644 --- a/zitadel/default_lockout_policy/resource_test.go +++ b/zitadel/default_lockout_policy/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_lockout_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_login_policy/funcs.go b/zitadel/default_login_policy/funcs.go index 1a4eb9e2..949d3013 100644 --- a/zitadel/default_login_policy/funcs.go +++ b/zitadel/default_login_policy/funcs.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_login_policy/resource_test.go b/zitadel/default_login_policy/resource_test.go index 14b4d0aa..f83d7784 100644 --- a/zitadel/default_login_policy/resource_test.go +++ b/zitadel/default_login_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_login_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_login_texts/resource.go b/zitadel/default_login_texts/resource.go index eabf46f6..a19701e6 100644 --- a/zitadel/default_login_texts/resource.go +++ b/zitadel/default_login_texts/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_login_texts/resource_test.go b/zitadel/default_login_texts/resource_test.go index a6bb1b92..9ec9603e 100644 --- a/zitadel/default_login_texts/resource_test.go +++ b/zitadel/default_login_texts/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_login_texts" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_notification_policy/funcs.go b/zitadel/default_notification_policy/funcs.go index 4443ec59..03acfe63 100644 --- a/zitadel/default_notification_policy/funcs.go +++ b/zitadel/default_notification_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_notification_policy/resource_test.go b/zitadel/default_notification_policy/resource_test.go index 636af87e..af0d5e8b 100644 --- a/zitadel/default_notification_policy/resource_test.go +++ b/zitadel/default_notification_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_oidc_settings/funcs.go b/zitadel/default_oidc_settings/funcs.go index 1465ea38..a9eb2641 100644 --- a/zitadel/default_oidc_settings/funcs.go +++ b/zitadel/default_oidc_settings/funcs.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_oidc_settings/resource_test.go b/zitadel/default_oidc_settings/resource_test.go index bb215903..5e7bc43f 100644 --- a/zitadel/default_oidc_settings/resource_test.go +++ b/zitadel/default_oidc_settings/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_oidc_settings" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_password_change_message_text/resource.go b/zitadel/default_password_change_message_text/resource.go index 2ac3b630..c715eff4 100644 --- a/zitadel/default_password_change_message_text/resource.go +++ b/zitadel/default_password_change_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_password_change_message_text/resource_test.go b/zitadel/default_password_change_message_text/resource_test.go index 413d8450..c02b864f 100644 --- a/zitadel/default_password_change_message_text/resource_test.go +++ b/zitadel/default_password_change_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_password_change_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_password_complexity_policy/funcs.go b/zitadel/default_password_complexity_policy/funcs.go index c29a8daf..96c80a3f 100644 --- a/zitadel/default_password_complexity_policy/funcs.go +++ b/zitadel/default_password_complexity_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_password_complexity_policy/resource_test.go b/zitadel/default_password_complexity_policy/resource_test.go index f7166d91..8eeb320c 100644 --- a/zitadel/default_password_complexity_policy/resource_test.go +++ b/zitadel/default_password_complexity_policy/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_password_complexity_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_password_reset_message_text/resource.go b/zitadel/default_password_reset_message_text/resource.go index f2b81d55..a459499c 100644 --- a/zitadel/default_password_reset_message_text/resource.go +++ b/zitadel/default_password_reset_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_password_reset_message_text/resource_test.go b/zitadel/default_password_reset_message_text/resource_test.go index 0a400c5d..485bbb4c 100644 --- a/zitadel/default_password_reset_message_text/resource_test.go +++ b/zitadel/default_password_reset_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_password_reset_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_passwordless_registration_message_text/resource.go b/zitadel/default_passwordless_registration_message_text/resource.go index 76eba735..671d510d 100644 --- a/zitadel/default_passwordless_registration_message_text/resource.go +++ b/zitadel/default_passwordless_registration_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_passwordless_registration_message_text/resource_test.go b/zitadel/default_passwordless_registration_message_text/resource_test.go index 59951ece..fdf61576 100644 --- a/zitadel/default_passwordless_registration_message_text/resource_test.go +++ b/zitadel/default_passwordless_registration_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_passwordless_registration_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_privacy_policy/funcs.go b/zitadel/default_privacy_policy/funcs.go index e3e8b533..4d6426f1 100644 --- a/zitadel/default_privacy_policy/funcs.go +++ b/zitadel/default_privacy_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/default_privacy_policy/resource_test.go b/zitadel/default_privacy_policy/resource_test.go index b36c2d56..ed0a8930 100644 --- a/zitadel/default_privacy_policy/resource_test.go +++ b/zitadel/default_privacy_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_privacy_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/default_verify_email_message_text/resource.go b/zitadel/default_verify_email_message_text/resource.go index 1e0fa702..1146787a 100644 --- a/zitadel/default_verify_email_message_text/resource.go +++ b/zitadel/default_verify_email_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_verify_email_message_text/resource_test.go b/zitadel/default_verify_email_message_text/resource_test.go index 4fc2821d..33e8bb20 100644 --- a/zitadel/default_verify_email_message_text/resource_test.go +++ b/zitadel/default_verify_email_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_verify_email_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_verify_email_otp_message_text/resource.go b/zitadel/default_verify_email_otp_message_text/resource.go index 9450ef22..852e7fb7 100644 --- a/zitadel/default_verify_email_otp_message_text/resource.go +++ b/zitadel/default_verify_email_otp_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_verify_email_otp_message_text/resource_test.go b/zitadel/default_verify_email_otp_message_text/resource_test.go index b3c2289d..2a7a8101 100644 --- a/zitadel/default_verify_email_otp_message_text/resource_test.go +++ b/zitadel/default_verify_email_otp_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_verify_email_otp_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_verify_phone_message_text/resource.go b/zitadel/default_verify_phone_message_text/resource.go index b6e44e87..4f362b8c 100644 --- a/zitadel/default_verify_phone_message_text/resource.go +++ b/zitadel/default_verify_phone_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_verify_phone_message_text/resource_test.go b/zitadel/default_verify_phone_message_text/resource_test.go index a8daed31..b1d45c28 100644 --- a/zitadel/default_verify_phone_message_text/resource_test.go +++ b/zitadel/default_verify_phone_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_verify_phone_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/default_verify_sms_otp_message_text/resource.go b/zitadel/default_verify_sms_otp_message_text/resource.go index c2c96c21..393a9172 100644 --- a/zitadel/default_verify_sms_otp_message_text/resource.go +++ b/zitadel/default_verify_sms_otp_message_text/resource.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/default_verify_sms_otp_message_text/resource_test.go b/zitadel/default_verify_sms_otp_message_text/resource_test.go index 042e234f..309ffa00 100644 --- a/zitadel/default_verify_sms_otp_message_text/resource_test.go +++ b/zitadel/default_verify_sms_otp_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_verify_sms_otp_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/domain/funcs.go b/zitadel/domain/funcs.go index 85cb9f51..d4d1a0e8 100644 --- a/zitadel/domain/funcs.go +++ b/zitadel/domain/funcs.go @@ -7,9 +7,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/org" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/domain/resource_test.go b/zitadel/domain/resource_test.go index cb07c2c0..4d81de39 100644 --- a/zitadel/domain/resource_test.go +++ b/zitadel/domain/resource_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/org" "github.com/zitadel/terraform-provider-zitadel/zitadel/domain" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/domain_claimed_message_text/resource.go b/zitadel/domain_claimed_message_text/resource.go index 92324f6d..c22c7b8d 100644 --- a/zitadel/domain_claimed_message_text/resource.go +++ b/zitadel/domain_claimed_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/domain_claimed_message_text/resource_test.go b/zitadel/domain_claimed_message_text/resource_test.go index 92edab90..27677e37 100644 --- a/zitadel/domain_claimed_message_text/resource_test.go +++ b/zitadel/domain_claimed_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/default_domain_claimed_message_text" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/domain_policy/funcs.go b/zitadel/domain_policy/funcs.go index d0b2397f..bfc028b5 100644 --- a/zitadel/domain_policy/funcs.go +++ b/zitadel/domain_policy/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/domain_policy/resource_test.go b/zitadel/domain_policy/resource_test.go index d6f6f949..dd7ff04a 100644 --- a/zitadel/domain_policy/resource_test.go +++ b/zitadel/domain_policy/resource_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/domain_policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/helper/client.go b/zitadel/helper/client.go index 26f2aec1..bbb83cd6 100644 --- a/zitadel/helper/client.go +++ b/zitadel/helper/client.go @@ -8,10 +8,10 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/zitadel/oidc/pkg/oidc" - "github.com/zitadel/zitadel-go/v2/pkg/client/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/middleware" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + "github.com/zitadel/zitadel-go/v3/pkg/client/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/middleware" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/zitadel/helper/form.go b/zitadel/helper/form.go index d5ee76ae..6776496d 100644 --- a/zitadel/helper/form.go +++ b/zitadel/helper/form.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/zitadel/oidc/pkg/client/profile" "github.com/zitadel/oidc/pkg/oidc" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel" "golang.org/x/oauth2" ) diff --git a/zitadel/helper/test_utils/instance_frame.go b/zitadel/helper/test_utils/instance_frame.go index adbe3366..5598fa83 100644 --- a/zitadel/helper/test_utils/instance_frame.go +++ b/zitadel/helper/test_utils/instance_frame.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/admin" "github.com/zitadel/terraform-provider-zitadel/acceptance" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/helper/test_utils/org_frame.go b/zitadel/helper/test_utils/org_frame.go index f74ab70e..6ec6d191 100644 --- a/zitadel/helper/test_utils/org_frame.go +++ b/zitadel/helper/test_utils/org_frame.go @@ -6,9 +6,9 @@ import ( "strings" "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/admin" - mgmt "github.com/zitadel/zitadel-go/v2/pkg/client/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/admin" + mgmt "github.com/zitadel/zitadel-go/v3/pkg/client/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/acceptance" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/human_user/funcs.go b/zitadel/human_user/funcs.go index 3f532a36..efe364d6 100644 --- a/zitadel/human_user/funcs.go +++ b/zitadel/human_user/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/user" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/human_user/human_user_test_dep/dependency.go b/zitadel/human_user/human_user_test_dep/dependency.go index b22a971e..675e9c13 100644 --- a/zitadel/human_user/human_user_test_dep/dependency.go +++ b/zitadel/human_user/human_user_test_dep/dependency.go @@ -3,7 +3,7 @@ package human_user_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/human_user" diff --git a/zitadel/human_user/resource.go b/zitadel/human_user/resource.go index 49a61033..b84a276f 100644 --- a/zitadel/human_user/resource.go +++ b/zitadel/human_user/resource.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/user" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/human_user/resource_test.go b/zitadel/human_user/resource_test.go index 7eb88793..282fb786 100644 --- a/zitadel/human_user/resource_test.go +++ b/zitadel/human_user/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/idp_azure_ad/funcs.go b/zitadel/idp_azure_ad/funcs.go index 31442cdb..fde0f0a0 100644 --- a/zitadel/idp_azure_ad/funcs.go +++ b/zitadel/idp_azure_ad/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_azure_ad/idp_azure_ad_test_dep/dependency.go b/zitadel/idp_azure_ad/idp_azure_ad_test_dep/dependency.go index 4a8d15dd..6a266342 100644 --- a/zitadel/idp_azure_ad/idp_azure_ad_test_dep/dependency.go +++ b/zitadel/idp_azure_ad/idp_azure_ad_test_dep/dependency.go @@ -3,8 +3,8 @@ package idp_azure_ad_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_azure_ad/schema.go b/zitadel/idp_azure_ad/schema.go index 0634670c..67e1c577 100644 --- a/zitadel/idp_azure_ad/schema.go +++ b/zitadel/idp_azure_ad/schema.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/idp_github/funcs.go b/zitadel/idp_github/funcs.go index f0910b21..81dd3efe 100644 --- a/zitadel/idp_github/funcs.go +++ b/zitadel/idp_github/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_github_es/funcs.go b/zitadel/idp_github_es/funcs.go index 150eb457..e6df251a 100644 --- a/zitadel/idp_github_es/funcs.go +++ b/zitadel/idp_github_es/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_gitlab/funcs.go b/zitadel/idp_gitlab/funcs.go index 7c094e6c..d3c0ec29 100644 --- a/zitadel/idp_gitlab/funcs.go +++ b/zitadel/idp_gitlab/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_gitlab_self_hosted/funcs.go b/zitadel/idp_gitlab_self_hosted/funcs.go index 3049f590..314d4efe 100644 --- a/zitadel/idp_gitlab_self_hosted/funcs.go +++ b/zitadel/idp_gitlab_self_hosted/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_google/funcs.go b/zitadel/idp_google/funcs.go index 07d5d581..ac7788df 100644 --- a/zitadel/idp_google/funcs.go +++ b/zitadel/idp_google/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_google/idp_google_test_dep/dependency.go b/zitadel/idp_google/idp_google_test_dep/dependency.go index d52cc4bb..bf7aeca9 100644 --- a/zitadel/idp_google/idp_google_test_dep/dependency.go +++ b/zitadel/idp_google/idp_google_test_dep/dependency.go @@ -3,7 +3,7 @@ package idp_google_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_ldap/funcs.go b/zitadel/idp_ldap/funcs.go index 7c7f4617..3c987447 100644 --- a/zitadel/idp_ldap/funcs.go +++ b/zitadel/idp_ldap/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/idp_oauth/funcs.go b/zitadel/idp_oauth/funcs.go index 7c7d1f23..d0b18884 100644 --- a/zitadel/idp_oauth/funcs.go +++ b/zitadel/idp_oauth/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_saml/funcs.go b/zitadel/idp_saml/funcs.go index d99b81bb..d08d57d1 100644 --- a/zitadel/idp_saml/funcs.go +++ b/zitadel/idp_saml/funcs.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/idp_saml/schema.go b/zitadel/idp_saml/schema.go index c073a558..6ed2fe52 100644 --- a/zitadel/idp_saml/schema.go +++ b/zitadel/idp_saml/schema.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/idp_utils/funcs.go b/zitadel/idp_utils/funcs.go index e1d732f9..d0e45cf4 100644 --- a/zitadel/idp_utils/funcs.go +++ b/zitadel/idp_utils/funcs.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/idp_utils/idp_test_utils/checks.go b/zitadel/idp_utils/idp_test_utils/checks.go index 89766c39..a6b886e6 100644 --- a/zitadel/idp_utils/idp_test_utils/checks.go +++ b/zitadel/idp_utils/idp_test_utils/checks.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/zitadel/init_message_text/resource.go b/zitadel/init_message_text/resource.go index 73eafad7..38bf4af2 100644 --- a/zitadel/init_message_text/resource.go +++ b/zitadel/init_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/init_message_text/resource_test.go b/zitadel/init_message_text/resource_test.go index b74f4ad1..73bc867b 100644 --- a/zitadel/init_message_text/resource_test.go +++ b/zitadel/init_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/init_message_text" diff --git a/zitadel/instance_member/funcs.go b/zitadel/instance_member/funcs.go index 02d3a784..af3c92bf 100644 --- a/zitadel/instance_member/funcs.go +++ b/zitadel/instance_member/funcs.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/instance_member/resource_test.go b/zitadel/instance_member/resource_test.go index c816b06f..8d2c6508 100644 --- a/zitadel/instance_member/resource_test.go +++ b/zitadel/instance_member/resource_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/label_policy/funcs.go b/zitadel/label_policy/funcs.go index 0d01a46d..ec605b28 100644 --- a/zitadel/label_policy/funcs.go +++ b/zitadel/label_policy/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/label_policy/resource.go b/zitadel/label_policy/resource.go index 184ea28e..e50ec885 100644 --- a/zitadel/label_policy/resource.go +++ b/zitadel/label_policy/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/label_policy/resource_test.go b/zitadel/label_policy/resource_test.go index 13ab2297..7589f541 100644 --- a/zitadel/label_policy/resource_test.go +++ b/zitadel/label_policy/resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/lockout_policy/funcs.go b/zitadel/lockout_policy/funcs.go index f0df1bd5..d89ff28e 100644 --- a/zitadel/lockout_policy/funcs.go +++ b/zitadel/lockout_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/lockout_policy/resource_test.go b/zitadel/lockout_policy/resource_test.go index e4a3546f..e9d4fc1a 100644 --- a/zitadel/lockout_policy/resource_test.go +++ b/zitadel/lockout_policy/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/login_policy/funcs.go b/zitadel/login_policy/funcs.go index d69deb34..e5cbb539 100644 --- a/zitadel/login_policy/funcs.go +++ b/zitadel/login_policy/funcs.go @@ -7,10 +7,10 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - mgmtclient "github.com/zitadel/zitadel-go/v2/pkg/client/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/policy" + mgmtclient "github.com/zitadel/zitadel-go/v3/pkg/client/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/policy" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/login_policy/resource_test.go b/zitadel/login_policy/resource_test.go index fe87ae27..a1632746 100644 --- a/zitadel/login_policy/resource_test.go +++ b/zitadel/login_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/login_texts/resource.go b/zitadel/login_texts/resource.go index cdd1a7ce..6d0e108d 100644 --- a/zitadel/login_texts/resource.go +++ b/zitadel/login_texts/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/login_texts/resource_test.go b/zitadel/login_texts/resource_test.go index 868cbeab..db4bb602 100644 --- a/zitadel/login_texts/resource_test.go +++ b/zitadel/login_texts/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/login_texts" diff --git a/zitadel/machine_key/funcs.go b/zitadel/machine_key/funcs.go index 1b456d05..9fc63c4f 100644 --- a/zitadel/machine_key/funcs.go +++ b/zitadel/machine_key/funcs.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/authn" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/authn" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/timestamppb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/machine_key/resource.go b/zitadel/machine_key/resource.go index 472310b6..907dd2a4 100644 --- a/zitadel/machine_key/resource.go +++ b/zitadel/machine_key/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/authn" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/authn" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/machine_key/resource_test.go b/zitadel/machine_key/resource_test.go index 2d75151a..d90995d6 100644 --- a/zitadel/machine_key/resource_test.go +++ b/zitadel/machine_key/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/machine_user/const.go b/zitadel/machine_user/const.go index ff26d6da..29c27370 100644 --- a/zitadel/machine_user/const.go +++ b/zitadel/machine_user/const.go @@ -1,7 +1,7 @@ package machine_user import ( - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/user" ) const ( diff --git a/zitadel/machine_user/datasource.go b/zitadel/machine_user/datasource.go index f92a17e6..cc9e35b7 100644 --- a/zitadel/machine_user/datasource.go +++ b/zitadel/machine_user/datasource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/machine_user/datasource_test.go b/zitadel/machine_user/datasource_test.go index 3a939a57..57f5fc53 100644 --- a/zitadel/machine_user/datasource_test.go +++ b/zitadel/machine_user/datasource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/machine_user" diff --git a/zitadel/machine_user/funcs.go b/zitadel/machine_user/funcs.go index cd5ae36b..a4cc81e7 100644 --- a/zitadel/machine_user/funcs.go +++ b/zitadel/machine_user/funcs.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/user" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/machine_user/machine_user_test_dep/dependency.go b/zitadel/machine_user/machine_user_test_dep/dependency.go index f29d485e..de7582cb 100644 --- a/zitadel/machine_user/machine_user_test_dep/dependency.go +++ b/zitadel/machine_user/machine_user_test_dep/dependency.go @@ -3,7 +3,7 @@ package machine_user_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/machine_user" diff --git a/zitadel/machine_user/resource.go b/zitadel/machine_user/resource.go index 1cff76a0..36142071 100644 --- a/zitadel/machine_user/resource.go +++ b/zitadel/machine_user/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/user" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/machine_user/resource_test.go b/zitadel/machine_user/resource_test.go index 79594b17..cf5ffa59 100644 --- a/zitadel/machine_user/resource_test.go +++ b/zitadel/machine_user/resource_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/notification_policy/funcs.go b/zitadel/notification_policy/funcs.go index 4dd9db12..72ca7d30 100644 --- a/zitadel/notification_policy/funcs.go +++ b/zitadel/notification_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/notification_policy/resource_test.go b/zitadel/notification_policy/resource_test.go index 40c16736..426bb2c4 100644 --- a/zitadel/notification_policy/resource_test.go +++ b/zitadel/notification_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/org/datasource.go b/zitadel/org/datasource.go index b3cfc6c4..20be6a93 100644 --- a/zitadel/org/datasource.go +++ b/zitadel/org/datasource.go @@ -4,8 +4,8 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/org" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org/funcs.go b/zitadel/org/funcs.go index cd96505c..750023b8 100644 --- a/zitadel/org/funcs.go +++ b/zitadel/org/funcs.go @@ -6,10 +6,10 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/org" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org/remote_test.go b/zitadel/org/remote_test.go index 5a8ee48d..bdace909 100644 --- a/zitadel/org/remote_test.go +++ b/zitadel/org/remote_test.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/org" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" ) diff --git a/zitadel/org_idp_azure_ad/funcs.go b/zitadel/org_idp_azure_ad/funcs.go index 8e138471..d55cdab2 100644 --- a/zitadel/org_idp_azure_ad/funcs.go +++ b/zitadel/org_idp_azure_ad/funcs.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_azure_ad" diff --git a/zitadel/org_idp_github/funcs.go b/zitadel/org_idp_github/funcs.go index 3b4e859e..e08e7b00 100644 --- a/zitadel/org_idp_github/funcs.go +++ b/zitadel/org_idp_github/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_github_es/funcs.go b/zitadel/org_idp_github_es/funcs.go index 0d33ce6f..ec2f44dd 100644 --- a/zitadel/org_idp_github_es/funcs.go +++ b/zitadel/org_idp_github_es/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_github_es" diff --git a/zitadel/org_idp_gitlab/funcs.go b/zitadel/org_idp_gitlab/funcs.go index 1eb7f30f..00b20b87 100644 --- a/zitadel/org_idp_gitlab/funcs.go +++ b/zitadel/org_idp_gitlab/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_gitlab_self_hosted/funcs.go b/zitadel/org_idp_gitlab_self_hosted/funcs.go index 4419bac4..6881ee4e 100644 --- a/zitadel/org_idp_gitlab_self_hosted/funcs.go +++ b/zitadel/org_idp_gitlab_self_hosted/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_gitlab_self_hosted" diff --git a/zitadel/org_idp_google/funcs.go b/zitadel/org_idp_google/funcs.go index 8e545dfe..8304a6a1 100644 --- a/zitadel/org_idp_google/funcs.go +++ b/zitadel/org_idp_google/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_google/org_idp_google_test_dep/dependency.go b/zitadel/org_idp_google/org_idp_google_test_dep/dependency.go index 06a5ba66..227c9575 100644 --- a/zitadel/org_idp_google/org_idp_google_test_dep/dependency.go +++ b/zitadel/org_idp_google/org_idp_google_test_dep/dependency.go @@ -3,7 +3,7 @@ package org_idp_google_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_jwt/funcs.go b/zitadel/org_idp_jwt/funcs.go index 231831f0..3170dbcb 100644 --- a/zitadel/org_idp_jwt/funcs.go +++ b/zitadel/org_idp_jwt/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org_idp_jwt/resource.go b/zitadel/org_idp_jwt/resource.go index a8265ea3..a8d8b5ab 100644 --- a/zitadel/org_idp_jwt/resource.go +++ b/zitadel/org_idp_jwt/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_jwt/resource_test.go b/zitadel/org_idp_jwt/resource_test.go index bcba7a44..aecf09c2 100644 --- a/zitadel/org_idp_jwt/resource_test.go +++ b/zitadel/org_idp_jwt/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/org_idp_ldap/funcs.go b/zitadel/org_idp_ldap/funcs.go index 888562b6..50a451ba 100644 --- a/zitadel/org_idp_ldap/funcs.go +++ b/zitadel/org_idp_ldap/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/durationpb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/org_idp_oauth/funcs.go b/zitadel/org_idp_oauth/funcs.go index 7908c5d8..4132eed8 100644 --- a/zitadel/org_idp_oauth/funcs.go +++ b/zitadel/org_idp_oauth/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_oauth" diff --git a/zitadel/org_idp_oidc/funcs.go b/zitadel/org_idp_oidc/funcs.go index 05900218..7d4bbce5 100644 --- a/zitadel/org_idp_oidc/funcs.go +++ b/zitadel/org_idp_oidc/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_utils" diff --git a/zitadel/org_idp_saml/funcs.go b/zitadel/org_idp_saml/funcs.go index 02e57559..4945d308 100644 --- a/zitadel/org_idp_saml/funcs.go +++ b/zitadel/org_idp_saml/funcs.go @@ -5,8 +5,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/idp" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/idp" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/idp_saml" diff --git a/zitadel/org_idp_utils/funcs.go b/zitadel/org_idp_utils/funcs.go index ce45f170..fce16429 100644 --- a/zitadel/org_idp_utils/funcs.go +++ b/zitadel/org_idp_utils/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org_idp_utils/org_idp_test_utils/checks.go b/zitadel/org_idp_utils/org_idp_test_utils/checks.go index f76df16a..166b32d5 100644 --- a/zitadel/org_idp_utils/org_idp_test_utils/checks.go +++ b/zitadel/org_idp_utils/org_idp_test_utils/checks.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/zitadel/org_member/funcs.go b/zitadel/org_member/funcs.go index c3579731..d6945d09 100644 --- a/zitadel/org_member/funcs.go +++ b/zitadel/org_member/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org_member/resource_test.go b/zitadel/org_member/resource_test.go index e4883c3a..4992eb14 100644 --- a/zitadel/org_member/resource_test.go +++ b/zitadel/org_member/resource_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/org_metadata/funcs.go b/zitadel/org_metadata/funcs.go index 8355a541..733527d5 100644 --- a/zitadel/org_metadata/funcs.go +++ b/zitadel/org_metadata/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/org_metadata/resource_test.go b/zitadel/org_metadata/resource_test.go index 44caf6de..aa1048ec 100644 --- a/zitadel/org_metadata/resource_test.go +++ b/zitadel/org_metadata/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/org_metadata" diff --git a/zitadel/password_change_message_text/resource.go b/zitadel/password_change_message_text/resource.go index 370f3709..d10d7c39 100644 --- a/zitadel/password_change_message_text/resource.go +++ b/zitadel/password_change_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/password_change_message_text/resource_test.go b/zitadel/password_change_message_text/resource_test.go index 6198c4b0..a5ee1cf4 100644 --- a/zitadel/password_change_message_text/resource_test.go +++ b/zitadel/password_change_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/password_change_message_text" diff --git a/zitadel/password_complexity_policy/funcs.go b/zitadel/password_complexity_policy/funcs.go index e0d4116e..fdb90a50 100644 --- a/zitadel/password_complexity_policy/funcs.go +++ b/zitadel/password_complexity_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/password_complexity_policy/resource_test.go b/zitadel/password_complexity_policy/resource_test.go index 73be9299..976763bc 100644 --- a/zitadel/password_complexity_policy/resource_test.go +++ b/zitadel/password_complexity_policy/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/password_reset_message_text/resource.go b/zitadel/password_reset_message_text/resource.go index 8ad099ad..ed6fde2b 100644 --- a/zitadel/password_reset_message_text/resource.go +++ b/zitadel/password_reset_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/password_reset_message_text/resource_test.go b/zitadel/password_reset_message_text/resource_test.go index 785c65cf..6725fa5f 100644 --- a/zitadel/password_reset_message_text/resource_test.go +++ b/zitadel/password_reset_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/password_reset_message_text" diff --git a/zitadel/passwordless_registration_message_text/resource.go b/zitadel/passwordless_registration_message_text/resource.go index 6222f213..c53db892 100644 --- a/zitadel/passwordless_registration_message_text/resource.go +++ b/zitadel/passwordless_registration_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/passwordless_registration_message_text/resource_test.go b/zitadel/passwordless_registration_message_text/resource_test.go index 5486fa17..42a9323f 100644 --- a/zitadel/passwordless_registration_message_text/resource_test.go +++ b/zitadel/passwordless_registration_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/passwordless_registration_message_text" diff --git a/zitadel/pat/funcs.go b/zitadel/pat/funcs.go index 38ef6606..ded476c4 100644 --- a/zitadel/pat/funcs.go +++ b/zitadel/pat/funcs.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "google.golang.org/protobuf/types/known/timestamppb" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/pat/resource_test.go b/zitadel/pat/resource_test.go index a67d1b48..98a07170 100644 --- a/zitadel/pat/resource_test.go +++ b/zitadel/pat/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/privacy_policy/funcs.go b/zitadel/privacy_policy/funcs.go index 28404341..a93d6a2a 100644 --- a/zitadel/privacy_policy/funcs.go +++ b/zitadel/privacy_policy/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/privacy_policy/resource_test.go b/zitadel/privacy_policy/resource_test.go index 3748b408..0ab0703a 100644 --- a/zitadel/privacy_policy/resource_test.go +++ b/zitadel/privacy_policy/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/project/const.go b/zitadel/project/const.go index 7c758cfe..8851be7a 100644 --- a/zitadel/project/const.go +++ b/zitadel/project/const.go @@ -1,6 +1,6 @@ package project -import "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/project" +import "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/project" const ( ProjectIDVar = "project_id" diff --git a/zitadel/project/datasource.go b/zitadel/project/datasource.go index d8264b86..3b145a0f 100644 --- a/zitadel/project/datasource.go +++ b/zitadel/project/datasource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project/datasource_test.go b/zitadel/project/datasource_test.go index 58932f6e..771eec2c 100644 --- a/zitadel/project/datasource_test.go +++ b/zitadel/project/datasource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/project" diff --git a/zitadel/project/funcs.go b/zitadel/project/funcs.go index d92e29e1..732fdbf4 100644 --- a/zitadel/project/funcs.go +++ b/zitadel/project/funcs.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/project" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/project" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project/project_test_dep/dependency.go b/zitadel/project/project_test_dep/dependency.go index 21155171..64745959 100644 --- a/zitadel/project/project_test_dep/dependency.go +++ b/zitadel/project/project_test_dep/dependency.go @@ -3,7 +3,7 @@ package project_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/project" diff --git a/zitadel/project/resource.go b/zitadel/project/resource.go index a8ef35c3..5946f272 100644 --- a/zitadel/project/resource.go +++ b/zitadel/project/resource.go @@ -4,7 +4,7 @@ import ( "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/project" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/project" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project/resource_test.go b/zitadel/project/resource_test.go index 47b13cb1..0e95e058 100644 --- a/zitadel/project/resource_test.go +++ b/zitadel/project/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/project_grant/funcs.go b/zitadel/project_grant/funcs.go index 1c9c447d..22ef1795 100644 --- a/zitadel/project_grant/funcs.go +++ b/zitadel/project_grant/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project_grant/project_grant_test_dep/dependency.go b/zitadel/project_grant/project_grant_test_dep/dependency.go index 5b5a0239..53dac329 100644 --- a/zitadel/project_grant/project_grant_test_dep/dependency.go +++ b/zitadel/project_grant/project_grant_test_dep/dependency.go @@ -3,7 +3,7 @@ package project_grant_test_dep import ( "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" ) diff --git a/zitadel/project_grant/resource_test.go b/zitadel/project_grant/resource_test.go index 273d2521..8740297f 100644 --- a/zitadel/project_grant/resource_test.go +++ b/zitadel/project_grant/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/project_grant_member/funcs.go b/zitadel/project_grant_member/funcs.go index 537784e9..5fefb36b 100644 --- a/zitadel/project_grant_member/funcs.go +++ b/zitadel/project_grant_member/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project_grant_member/resource_test.go b/zitadel/project_grant_member/resource_test.go index bf6777d9..a23bb8d1 100644 --- a/zitadel/project_grant_member/resource_test.go +++ b/zitadel/project_grant_member/resource_test.go @@ -8,8 +8,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/project_member/funcs.go b/zitadel/project_member/funcs.go index 79fb09fb..13d69c4d 100644 --- a/zitadel/project_member/funcs.go +++ b/zitadel/project_member/funcs.go @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project_member/resource_test.go b/zitadel/project_member/resource_test.go index 627e2601..b08ee0b2 100644 --- a/zitadel/project_member/resource_test.go +++ b/zitadel/project_member/resource_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/member" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/member" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/project_role/funcs.go b/zitadel/project_role/funcs.go index d2da9103..953b9391 100644 --- a/zitadel/project_role/funcs.go +++ b/zitadel/project_role/funcs.go @@ -6,9 +6,9 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object" - project2 "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/project" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/object" + project2 "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/project" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/project_role/project_role_test_dep/dependency.go b/zitadel/project_role/project_role_test_dep/dependency.go index de359bc2..9f6a49c3 100644 --- a/zitadel/project_role/project_role_test_dep/dependency.go +++ b/zitadel/project_role/project_role_test_dep/dependency.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/project_role" diff --git a/zitadel/project_role/resource_test.go b/zitadel/project_role/resource_test.go index 944a54f8..fc54a365 100644 --- a/zitadel/project_role/resource_test.go +++ b/zitadel/project_role/resource_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/project" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/project" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/provider.go b/zitadel/provider.go index 95157e1b..5a1f1667 100644 --- a/zitadel/provider.go +++ b/zitadel/provider.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - zitadel_go "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + zitadel_go "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel" "github.com/zitadel/terraform-provider-zitadel/zitadel/action" "github.com/zitadel/terraform-provider-zitadel/zitadel/application_api" diff --git a/zitadel/sms_provider_twilio/funcs.go b/zitadel/sms_provider_twilio/funcs.go index 3d89be17..6569b7e9 100644 --- a/zitadel/sms_provider_twilio/funcs.go +++ b/zitadel/sms_provider_twilio/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/sms_provider_twilio/resource_test.go b/zitadel/sms_provider_twilio/resource_test.go index 82ef2654..7e3178dd 100644 --- a/zitadel/sms_provider_twilio/resource_test.go +++ b/zitadel/sms_provider_twilio/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/smtp_config/funcs.go b/zitadel/smtp_config/funcs.go index 8078b32a..7ba54a9e 100644 --- a/zitadel/smtp_config/funcs.go +++ b/zitadel/smtp_config/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/smtp_config/resource_test.go b/zitadel/smtp_config/resource_test.go index 36624d7e..01965551 100644 --- a/zitadel/smtp_config/resource_test.go +++ b/zitadel/smtp_config/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/admin" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/admin" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/zitadel/trigger_actions/funcs.go b/zitadel/trigger_actions/funcs.go index cc14dfbe..2b0bdcef 100644 --- a/zitadel/trigger_actions/funcs.go +++ b/zitadel/trigger_actions/funcs.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/trigger_actions/resource_test.go b/zitadel/trigger_actions/resource_test.go index ee58a21d..783a511f 100644 --- a/zitadel/trigger_actions/resource_test.go +++ b/zitadel/trigger_actions/resource_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/action/action_test_dep" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" diff --git a/zitadel/user_grant/funcs.go b/zitadel/user_grant/funcs.go index 50a9e8d7..3ad640e1 100644 --- a/zitadel/user_grant/funcs.go +++ b/zitadel/user_grant/funcs.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-log/tflog" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/user_grant/resource_test.go b/zitadel/user_grant/resource_test.go index 547b0aac..c02ebb9f 100644 --- a/zitadel/user_grant/resource_test.go +++ b/zitadel/user_grant/resource_test.go @@ -6,7 +6,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/user_metadata/funcs.go b/zitadel/user_metadata/funcs.go index a5faa623..bb0af9e6 100644 --- a/zitadel/user_metadata/funcs.go +++ b/zitadel/user_metadata/funcs.go @@ -5,7 +5,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" ) diff --git a/zitadel/user_metadata/resource_test.go b/zitadel/user_metadata/resource_test.go index 2b04b6c6..f18c26a2 100644 --- a/zitadel/user_metadata/resource_test.go +++ b/zitadel/user_metadata/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" diff --git a/zitadel/verify_email_message_text/resource.go b/zitadel/verify_email_message_text/resource.go index e7f35320..243aa02a 100644 --- a/zitadel/verify_email_message_text/resource.go +++ b/zitadel/verify_email_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/verify_email_message_text/resource_test.go b/zitadel/verify_email_message_text/resource_test.go index df61c6be..b148773d 100644 --- a/zitadel/verify_email_message_text/resource_test.go +++ b/zitadel/verify_email_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/verify_email_message_text" diff --git a/zitadel/verify_email_otp_message_text/resource.go b/zitadel/verify_email_otp_message_text/resource.go index d6baa115..e2a6f8ad 100644 --- a/zitadel/verify_email_otp_message_text/resource.go +++ b/zitadel/verify_email_otp_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/verify_email_otp_message_text/resource_test.go b/zitadel/verify_email_otp_message_text/resource_test.go index 5ee7a3e3..1ec8d749 100644 --- a/zitadel/verify_email_otp_message_text/resource_test.go +++ b/zitadel/verify_email_otp_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/verify_email_otp_message_text" diff --git a/zitadel/verify_phone_message_text/resource.go b/zitadel/verify_phone_message_text/resource.go index 840a7614..4868f88e 100644 --- a/zitadel/verify_phone_message_text/resource.go +++ b/zitadel/verify_phone_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/verify_phone_message_text/resource_test.go b/zitadel/verify_phone_message_text/resource_test.go index 7e96a2dc..609a2459 100644 --- a/zitadel/verify_phone_message_text/resource_test.go +++ b/zitadel/verify_phone_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/verify_phone_message_text" diff --git a/zitadel/verify_sms_otp_message_text/resource.go b/zitadel/verify_sms_otp_message_text/resource.go index c4a2de8a..4a798f42 100644 --- a/zitadel/verify_sms_otp_message_text/resource.go +++ b/zitadel/verify_sms_otp_message_text/resource.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/tfsdk" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" - textpb "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/text" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" + textpb "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/text" "google.golang.org/protobuf/encoding/protojson" "github.com/zitadel/terraform-provider-zitadel/gen/github.com/zitadel/zitadel/pkg/grpc/text" diff --git a/zitadel/verify_sms_otp_message_text/resource_test.go b/zitadel/verify_sms_otp_message_text/resource_test.go index 00d5734f..829a03e2 100644 --- a/zitadel/verify_sms_otp_message_text/resource_test.go +++ b/zitadel/verify_sms_otp_message_text/resource_test.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/management" + "github.com/zitadel/zitadel-go/v3/pkg/client/zitadel/management" "github.com/zitadel/terraform-provider-zitadel/zitadel/helper/test_utils" "github.com/zitadel/terraform-provider-zitadel/zitadel/verify_sms_otp_message_text"