Skip to content

Commit 90a434c

Browse files
authored
Upgrade terraform-provider-tailscale to v0.24.0 (#773)
This PR was generated via `$ upgrade-provider pulumi/pulumi-tailscale --kind=provider --target-bridge-version=latest --target-version=0.24.0 --allow-missing-docs=true`. --- - Upgrading terraform-provider-tailscale from 0.22.0 to 0.24.0. Fixes #772 Fixes #760
1 parent b3ca67f commit 90a434c

File tree

27 files changed

+632
-225
lines changed

27 files changed

+632
-225
lines changed

.config/mise.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ url = "https://github.com/pulumi/schema-tools/releases/download/v0.6.0/schema-to
2525
url_api = ""
2626

2727
[[tools.go]]
28-
version = "1.24.10"
28+
version = "1.25.1"
2929
backend = "core:go"
3030

3131
[tools.go.platforms.linux-x64]
32-
checksum = "sha256:dd52b974e3d9c5a7bbfb222c685806def6be5d6f7efd10f9caa9ca1fa2f47955"
33-
size = 78693970
34-
url = "https://dl.google.com/go/go1.24.10.linux-amd64.tar.gz"
32+
checksum = "sha256:7716a0d940a0f6ae8e1f3b3f4f36299dc53e31b16840dbd171254312c41ca12e"
33+
size = 59660846
34+
url = "https://dl.google.com/go/go1.25.1.linux-amd64.tar.gz"
3535

3636
[[tools.golangci-lint]]
3737
version = "1.64.8"

.golangci.yml

Lines changed: 44 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,46 @@
1-
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
2-
1+
version: "2"
32
linters:
43
enable:
5-
- errcheck
6-
- gci
7-
- goconst
8-
- gofmt
9-
- gosec
10-
- govet
11-
- ineffassign
12-
- lll
13-
- gosimple
14-
- staticcheck
15-
- misspell
16-
- nakedret
17-
- revive
18-
- unconvert
19-
- unused
20-
enable-all: false
21-
issues:
22-
exclude-dirs:
23-
- pkg/vendored
24-
exclude-files:
25-
- schema.go
26-
- pulumiManifest.go
27-
run:
28-
timeout: 20m
29-
linters-settings:
30-
gci:
31-
sections:
32-
- standard # Standard section: captures all standard library packages.
33-
- blank # Blank section: contains all blank imports.
34-
- default # Default section: contains all imports that could not be matched to another section type.
35-
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
36-
- prefix(github.com/pulumi/pulumi-tailscale) # Custom section: local imports
37-
custom-order: true
4+
- goconst
5+
- gosec
6+
- lll
7+
- misspell
8+
- nakedret
9+
- revive
10+
- unconvert
11+
exclusions:
12+
generated: lax
13+
presets:
14+
- comments
15+
- common-false-positives
16+
- legacy
17+
- std-error-handling
18+
paths:
19+
- schema.go
20+
- pulumiManifest.go
21+
- pkg/vendored
22+
- third_party$
23+
- builtin$
24+
- examples$
25+
formatters:
26+
enable:
27+
- gci
28+
- gofmt
29+
settings:
30+
gci:
31+
sections:
32+
- standard
33+
- blank
34+
- default
35+
- prefix(github.com/pulumi/)
36+
- prefix(github.com/pulumi/pulumi-tailscale)
37+
custom-order: true
38+
exclusions:
39+
generated: lax
40+
paths:
41+
- schema.go
42+
- pulumiManifest.go
43+
- pkg/vendored
44+
- third_party$
45+
- builtin$
46+
- examples$

Makefile

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,10 @@ LDFLAGS=$(LDFLAGS_PROJ_VERSION) $(LDFLAGS_UPSTREAM_VERSION) $(LDFLAGS_EXTRAS) $(
3939
# Ensure all directories exist before evaluating targets to avoid issues with `touch` creating directories.
4040
_ := $(shell mkdir -p .make bin .pulumi/bin)
4141

42-
# Installs all necessary tools with mise and records completion in a sentinel
43-
# file so dependent targets can participate in make's caching behaviour. The
44-
# environment is refreshed via an order-only prerequisite so it still runs on
45-
# every invocation without invalidating the sentinel.
46-
mise_install: .make/mise_install | mise_env
47-
48-
.PHONY: mise_env
49-
mise_env:
50-
@mise env -q > /dev/null
51-
52-
.make/mise_install:
53-
@mise install -q
54-
@touch $@
55-
5642
# Build the provider and all SDKs and install ready for testing
5743
build: .make/mise_install provider build_sdks install_sdks build_registry_docs
5844
build: | mise_env
45+
5946
# Keep aliases for old targets to ensure backwards compatibility
6047
development: build
6148
only_build: build
@@ -70,6 +57,20 @@ build_sdks: build_nodejs build_python build_dotnet build_go build_java build_reg
7057
install_sdks: install_nodejs_sdk install_python_sdk install_dotnet_sdk install_go_sdk install_java_sdk
7158
.PHONY: development only_build build generate generate_sdks build_sdks install_sdks mise_install mise_env
7259

60+
# Installs all necessary tools with mise and records completion in a sentinel
61+
# file so dependent targets can participate in make's caching behaviour. The
62+
# environment is refreshed via an order-only prerequisite so it still runs on
63+
# every invocation without invalidating the sentinel.
64+
mise_install: .make/mise_install | mise_env
65+
66+
mise_env:
67+
@mise env -q > /dev/null
68+
69+
.make/mise_install:
70+
@mise install -q
71+
@touch $@
72+
73+
7374
help:
7475
@echo "Usage: make [target]"
7576
@echo ""

docs/_index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ config:
3232

3333
- `apiKey` (String, Sensitive) The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable. Conflicts with 'oauth_client_id' and 'oauth_client_secret'.
3434
- `baseUrl` (String) The base URL of the Tailscale API. Defaults to <https://api.tailscale.com>. Can be set via the TAILSCALE_BASE_URL environment variable.
35-
- `oauthClientId` (String) The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
36-
- `oauthClientSecret` (String, Sensitive) The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET environment variable. Both 'oauth_client_id' and 'oauth_client_secret' must be set. Conflicts with 'api_key'.
37-
- `scopes` (List of String) The OAuth 2.0 scopes to request when for the access token generated using the supplied OAuth client credentials. See <https://tailscale.com/kb/1215/oauth-clients/#scopes> for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.
38-
- `tailnet` (String) The organization name of the Tailnet in which to perform actions. Can be set via the TAILSCALE_TAILNET environment variable. Default is the tailnet that owns API credentials passed to the provider.
35+
- `identityToken` (String, Sensitive) The jwt identity token to exchange for a Tailscale API token when using a federated identity client. Can be set via the TAILSCALE_IDENTITY_TOKEN environment variable. Conflicts with 'api_key' and 'oauth_client_secret'.
36+
- `oauthClientId` (String) The OAuth application's ID when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_ID environment variable. Either 'oauth_client_secret' or 'identity_token' must be set alongside 'oauth_client_id'. Conflicts with 'api_key'.
37+
- `oauthClientSecret` (String, Sensitive) The OAuth application's secret when using OAuth client credentials. Can be set via the TAILSCALE_OAUTH_CLIENT_SECRET environment variable. Conflicts with 'api_key' and 'identity_token'.
38+
- `scopes` (List of String) The OAuth 2.0 scopes to request when generating the access token using the supplied OAuth client credentials. See <https://tailscale.com/kb/1215/oauth-clients/#scopes> for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret' are set.
39+
- `tailnet` (String) The tailnet ID. Tailnets created before Oct 2025 can still use the legacy ID, but the Tailnet ID is the preferred identifier. Can be set via the TAILSCALE_TAILNET environment variable. Default is the tailnet that owns API credentials passed to the provider.
3940
- `userAgent` (String) User-Agent header for API requests.

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
golangci-lint = "2.5.0"

0 commit comments

Comments
 (0)