Skip to content

Commit

Permalink
Updated dependencies (#1051)
Browse files Browse the repository at this point in the history
* Referenced vanity path for mergo module

Signed-off-by: Sebastian Schuster <sebastian.schuster@bosch.io>

* Updated terraform plugin sdk an other dependencies

Signed-off-by: Sebastian Schuster <sebastian.schuster@bosch.io>

* Fixed PKCE test failure

Signed-off-by: Sebastian Schuster <sebastian.schuster@bosch.io>

---------

Signed-off-by: Sebastian Schuster <sebastian.schuster@bosch.io>
  • Loading branch information
sschu authored Jan 3, 2025
1 parent d96ad64 commit 2085e23
Show file tree
Hide file tree
Showing 9 changed files with 127 additions and 203 deletions.
50 changes: 27 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
module github.com/keycloak/terraform-provider-keycloak

require (
github.com/hashicorp/errwrap v1.0.0
dario.cat/mergo v1.0.1
github.com/hashicorp/errwrap v1.1.0
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/go-version v1.7.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.26.1
github.com/imdario/mergo v0.3.13
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0
golang.org/x/net v0.33.0
)

require (
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
github.com/agext/levenshtein v1.2.2 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.8 // indirect
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/hc-install v0.5.0 // indirect
github.com/hashicorp/hcl/v2 v2.16.2 // indirect
github.com/hashicorp/hc-install v0.9.0 // indirect
github.com/hashicorp/hcl/v2 v2.22.0 // indirect
github.com/hashicorp/logutils v1.0.0 // indirect
github.com/hashicorp/terraform-exec v0.18.1 // indirect
github.com/hashicorp/terraform-json v0.16.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.14.3 // indirect
github.com/hashicorp/terraform-registry-address v0.1.0 // indirect
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect
github.com/hashicorp/terraform-exec v0.21.0 // indirect
github.com/hashicorp/terraform-json v0.23.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.25.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
Expand All @@ -41,17 +43,19 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.0.0 // 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/zclconf/go-cty v1.13.1 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.15.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.33.0 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)

go 1.22.0
261 changes: 91 additions & 170 deletions go.sum

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package provider

import (
"dario.cat/mergo"
"github.com/hashicorp/go-version"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/imdario/mergo"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
"github.com/keycloak/terraform-provider-keycloak/keycloak/types"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_keycloak_oidc_identity_provider.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package provider

import (
"dario.cat/mergo"
"github.com/hashicorp/go-version"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/imdario/mergo"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
"github.com/keycloak/terraform-provider-keycloak/keycloak/types"
)
Expand Down
5 changes: 2 additions & 3 deletions provider/resource_keycloak_openid_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ import (
"context"
"errors"
"fmt"
"github.com/imdario/mergo"
"github.com/keycloak/terraform-provider-keycloak/keycloak/types"
"reflect"
"strings"

"dario.cat/mergo"
"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/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
"github.com/keycloak/terraform-provider-keycloak/keycloak/types"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_keycloak_openid_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func TestAccKeycloakOpenidClient_pkceCodeChallengeMethod(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testKeycloakOpenidClient_pkceChallengeMethod(clientId, "invalidMethod"),
ExpectError: regexp.MustCompile(`expected pkce_code_challenge_method to be one of \[\ plain S256\], got invalidMethod`),
ExpectError: regexp.MustCompile(`expected pkce_code_challenge_method to be one of \[\"" "plain" "S256"\], got invalidMethod`),
},
{
Config: testKeycloakOpenidClient_omitPkceChallengeMethod(clientId),
Expand Down
4 changes: 2 additions & 2 deletions provider/resource_keycloak_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"context"
"errors"
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/imdario/mergo"
"strings"

"dario.cat/mergo"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_keycloak_saml_identity_provider.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package provider

import (
"dario.cat/mergo"
"github.com/hashicorp/go-version"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"github.com/imdario/mergo"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
"github.com/keycloak/terraform-provider-keycloak/keycloak/types"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_keycloak_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"errors"
"fmt"
"github.com/imdario/mergo"
"strings"

"dario.cat/mergo"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/keycloak/terraform-provider-keycloak/keycloak"
Expand Down

0 comments on commit 2085e23

Please sign in to comment.