Skip to content

Commit ab10254

Browse files
build(deps): bump tailscale.com from 1.80.2 to 1.84.1 (#512)
Bumps [tailscale.com](https://github.com/tailscale/tailscale) from 1.80.2 to 1.84.1. - [Release notes](https://github.com/tailscale/tailscale/releases) - [Commits](tailscale/tailscale@v1.80.2...v1.84.1) --- updated-dependencies: - dependency-name: tailscale.com dependency-version: 1.84.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 175d359 commit ab10254

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

go.mod

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/tailscale/terraform-provider-tailscale
22

3-
go 1.23.1
4-
5-
toolchain go1.23.2
3+
go 1.24.0
64

75
require (
86
github.com/google/go-cmp v0.7.0
@@ -13,7 +11,7 @@ require (
1311
github.com/stretchr/testify v1.10.0
1412
github.com/tailscale/hujson v0.0.0-20221223112325-20486734a56a
1513
golang.org/x/tools v0.34.0
16-
tailscale.com v1.80.2
14+
tailscale.com v1.84.1
1715
tailscale.com/client/tailscale/v2 v2.0.0-20250602205246-d51fc603f5ea
1816
)
1917

@@ -81,7 +79,7 @@ require (
8179
go4.org/mem v0.0.0-20240501181205-ae6ca9944745 // indirect
8280
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect
8381
golang.org/x/crypto v0.39.0 // indirect
84-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
82+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
8583
golang.org/x/mod v0.25.0 // indirect
8684
golang.org/x/net v0.41.0 // indirect
8785
golang.org/x/oauth2 v0.26.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
236236
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
237237
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
238238
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
239-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 h1:yqrTHse8TCMW1M1ZCP+VAR/l0kKxwaAIqN/il7x4voA=
240-
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8/go.mod h1:tujkw807nyEEAamNbDrEGzRav+ilXA7PCRAd6xsmwiU=
239+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac h1:l5+whBCLH3iH2ZNHYLbAe58bo7yrN4mVcnkHDYz5vvs=
240+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac/go.mod h1:hH+7mtFmImwwcMvScyxUhjuVHR3HGaDPMn9rMSUUbxo=
241241
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
242242
golang.org/x/mod v0.25.0 h1:n7a+ZbQKQA/Ysbyb0/6IbB1H/X41mKgbhfv7AfG/44w=
243243
golang.org/x/mod v0.25.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
@@ -308,7 +308,7 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
308308
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
309309
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
310310
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
311-
tailscale.com v1.80.2 h1:MA/AvAyWakq01E1MS6SwKEp2VEFE5CoXAAguwrnbF5g=
312-
tailscale.com v1.80.2/go.mod h1:HTOFVeo5RY0qBl5Uy+LXHwgp0PLXgVSfgqWI34gSrPA=
311+
tailscale.com v1.84.1 h1:xtuiYeAIUR+dRztPzzqUsjj+Fv/06vz28zoFaP1k/Os=
312+
tailscale.com v1.84.1/go.mod h1:6/S63NMAhmncYT/1zIPDJkvCuZwMw+JnUuOfSPNazpo=
313313
tailscale.com/client/tailscale/v2 v2.0.0-20250602205246-d51fc603f5ea h1:lXgaPz+scY0fqkoXfy6TpX9lpP4+dRa3Sv+YHQujFOk=
314314
tailscale.com/client/tailscale/v2 v2.0.0-20250602205246-d51fc603f5ea/go.mod h1:nzqx3Hs59z2W8Gnmq2ChavPButcyvtxAxRpNc+ZVy7s=

tailscale/provider.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package tailscale
77

88
import (
99
"context"
10+
"errors"
1011
"fmt"
1112
"maps"
1213
"net/url"
@@ -224,7 +225,7 @@ func diagnosticsAsError(diags diag.Diagnostics) error {
224225
return nil
225226
}
226227

227-
return fmt.Errorf(combined)
228+
return errors.New(combined)
228229
}
229230

230231
func diagnosticsErrorWithPath(err error, message string, path cty.Path, args ...interface{}) diag.Diagnostics {

tailscale/resource_tailnet_key.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package tailscale
55

66
import (
77
"context"
8-
"fmt"
98
"time"
109

1110
"github.com/hashicorp/go-cty/cty"
@@ -244,7 +243,7 @@ func resourceTailnetKeyRead(ctx context.Context, d *schema.ResourceData, m inter
244243
}
245244

246245
if key.KeyType != "auth" {
247-
return diagnosticsError(errors.New("Only 'auth' keys are supported by this resource"), fmt.Sprintf("Invalid key type '%s'", key.KeyType))
246+
return diagnosticsError(errors.New("Only 'auth' keys are supported by this resource"), "Invalid key type '%s'", key.KeyType)
248247
}
249248

250249
d.SetId(key.ID)

0 commit comments

Comments
 (0)