@pulumi/tailscale 1.0.0-alpha.1750181717 → 1.0.0-alpha.1750304068
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deviceAuthorization.d.ts +8 -2
- package/deviceAuthorization.js +8 -2
- package/deviceAuthorization.js.map +1 -1
- package/deviceKey.d.ts +8 -2
- package/deviceKey.js +8 -2
- package/deviceKey.js.map +1 -1
- package/deviceSubnetRoutes.d.ts +9 -3
- package/deviceSubnetRoutes.js +9 -3
- package/deviceSubnetRoutes.js.map +1 -1
- package/deviceTags.d.ts +8 -2
- package/deviceTags.js +8 -2
- package/deviceTags.js.map +1 -1
- package/getDevice.d.ts +4 -0
- package/getDevice.js.map +1 -1
- package/oauthClient.d.ts +9 -5
- package/oauthClient.js +10 -2
- package/oauthClient.js.map +1 -1
- package/package.json +2 -2
- package/tailnetKey.d.ts +1 -1
- package/tailnetSettings.d.ts +25 -8
- package/tailnetSettings.js +6 -0
- package/tailnetSettings.js.map +1 -1
- package/types/output.d.ts +5 -1
package/deviceAuthorization.d.ts
CHANGED
|
@@ -12,14 +12,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "device.example.com",
|
|
13
13
|
* });
|
|
14
14
|
* const sampleAuthorization = new tailscale.DeviceAuthorization("sample_authorization", {
|
|
15
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
15
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
16
16
|
* authorized: true,
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* Device authorization can be imported using the
|
|
22
|
+
* Device authorization can be imported using the node ID (preferred), e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import tailscale:index/deviceAuthorization:DeviceAuthorization sample_authorization nodeidCNTRL
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Device authorization can be imported using the legacy ID, e.g.,
|
|
23
29
|
*
|
|
24
30
|
* ```sh
|
|
25
31
|
* $ pulumi import tailscale:index/deviceAuthorization:DeviceAuthorization sample_authorization 123456789
|
package/deviceAuthorization.js
CHANGED
|
@@ -18,14 +18,20 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* name: "device.example.com",
|
|
19
19
|
* });
|
|
20
20
|
* const sampleAuthorization = new tailscale.DeviceAuthorization("sample_authorization", {
|
|
21
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
21
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
22
22
|
* authorized: true,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
* Device authorization can be imported using the
|
|
28
|
+
* Device authorization can be imported using the node ID (preferred), e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import tailscale:index/deviceAuthorization:DeviceAuthorization sample_authorization nodeidCNTRL
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* Device authorization can be imported using the legacy ID, e.g.,
|
|
29
35
|
*
|
|
30
36
|
* ```sh
|
|
31
37
|
* $ pulumi import tailscale:index/deviceAuthorization:DeviceAuthorization sample_authorization 123456789
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceAuthorization.js","sourceRoot":"","sources":["../deviceAuthorization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deviceAuthorization.js","sourceRoot":"","sources":["../deviceAuthorization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAC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,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,yDAAyD,CAAC"}
|
package/deviceKey.d.ts
CHANGED
|
@@ -12,14 +12,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "device.example.com",
|
|
13
13
|
* });
|
|
14
14
|
* const exampleKey = new tailscale.DeviceKey("example_key", {
|
|
15
|
-
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.
|
|
15
|
+
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.nodeId),
|
|
16
16
|
* keyExpiryDisabled: true,
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* Device key can be imported using the
|
|
22
|
+
* Device key can be imported using the node ID (preferred), e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import tailscale:index/deviceKey:DeviceKey sample nodeidCNTRL
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Device key can be imported using the legacy ID, e.g.,
|
|
23
29
|
*
|
|
24
30
|
* ```sh
|
|
25
31
|
* $ pulumi import tailscale:index/deviceKey:DeviceKey sample 123456789
|
package/deviceKey.js
CHANGED
|
@@ -18,14 +18,20 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* name: "device.example.com",
|
|
19
19
|
* });
|
|
20
20
|
* const exampleKey = new tailscale.DeviceKey("example_key", {
|
|
21
|
-
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.
|
|
21
|
+
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.nodeId),
|
|
22
22
|
* keyExpiryDisabled: true,
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
* Device key can be imported using the
|
|
28
|
+
* Device key can be imported using the node ID (preferred), e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import tailscale:index/deviceKey:DeviceKey sample nodeidCNTRL
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* Device key can be imported using the legacy ID, e.g.,
|
|
29
35
|
*
|
|
30
36
|
* ```sh
|
|
31
37
|
* $ pulumi import tailscale:index/deviceKey:DeviceKey sample 123456789
|
package/deviceKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceKey.js","sourceRoot":"","sources":["../deviceKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deviceKey.js","sourceRoot":"","sources":["../deviceKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,E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AC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA9DL,8BA+DC;AAjDG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/deviceSubnetRoutes.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* name: "device.example.com",
|
|
11
11
|
* });
|
|
12
12
|
* const sampleRoutes = new tailscale.DeviceSubnetRoutes("sample_routes", {
|
|
13
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
13
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
14
14
|
* routes: [
|
|
15
15
|
* "10.0.1.0/24",
|
|
16
16
|
* "1.2.0.0/16",
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* ],
|
|
19
19
|
* });
|
|
20
20
|
* const sampleExitNode = new tailscale.DeviceSubnetRoutes("sample_exit_node", {
|
|
21
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
21
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
22
22
|
* routes: [
|
|
23
23
|
* "0.0.0.0/0",
|
|
24
24
|
* "::/0",
|
|
@@ -28,7 +28,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
-
* Device subnet rules can be imported using the
|
|
31
|
+
* Device subnet rules can be imported using the node ID (preferred), e.g.,
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import tailscale:index/deviceSubnetRoutes:DeviceSubnetRoutes sample nodeidCNTRL
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Device subnet rules can be imported using the legacy ID, e.g.,
|
|
32
38
|
*
|
|
33
39
|
* ```sh
|
|
34
40
|
* $ pulumi import tailscale:index/deviceSubnetRoutes:DeviceSubnetRoutes sample 123456789
|
package/deviceSubnetRoutes.js
CHANGED
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* name: "device.example.com",
|
|
17
17
|
* });
|
|
18
18
|
* const sampleRoutes = new tailscale.DeviceSubnetRoutes("sample_routes", {
|
|
19
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
19
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
20
20
|
* routes: [
|
|
21
21
|
* "10.0.1.0/24",
|
|
22
22
|
* "1.2.0.0/16",
|
|
@@ -24,7 +24,7 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* ],
|
|
25
25
|
* });
|
|
26
26
|
* const sampleExitNode = new tailscale.DeviceSubnetRoutes("sample_exit_node", {
|
|
27
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
27
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
28
28
|
* routes: [
|
|
29
29
|
* "0.0.0.0/0",
|
|
30
30
|
* "::/0",
|
|
@@ -34,7 +34,13 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
|
-
* Device subnet rules can be imported using the
|
|
37
|
+
* Device subnet rules can be imported using the node ID (preferred), e.g.,
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import tailscale:index/deviceSubnetRoutes:DeviceSubnetRoutes sample nodeidCNTRL
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* Device subnet rules can be imported using the legacy ID, e.g.,
|
|
38
44
|
*
|
|
39
45
|
* ```sh
|
|
40
46
|
* $ pulumi import tailscale:index/deviceSubnetRoutes:DeviceSubnetRoutes sample 123456789
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceSubnetRoutes.js","sourceRoot":"","sources":["../deviceSubnetRout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iD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAjEL,gDAkEC;AApDG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
package/deviceTags.d.ts
CHANGED
|
@@ -12,14 +12,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* name: "device.example.com",
|
|
13
13
|
* });
|
|
14
14
|
* const sampleTags = new tailscale.DeviceTags("sample_tags", {
|
|
15
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
15
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
16
16
|
* tags: ["room:bedroom"],
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* Device tags can be imported using the
|
|
22
|
+
* Device tags can be imported using the node ID (preferred), e.g.,
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import tailscale:index/deviceTags:DeviceTags sample nodeidCNTRL
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Device tags can be imported using the legacy ID, e.g.,
|
|
23
29
|
*
|
|
24
30
|
* ```sh
|
|
25
31
|
* $ pulumi import tailscale:index/deviceTags:DeviceTags sample 123456789
|
package/deviceTags.js
CHANGED
|
@@ -18,14 +18,20 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* name: "device.example.com",
|
|
19
19
|
* });
|
|
20
20
|
* const sampleTags = new tailscale.DeviceTags("sample_tags", {
|
|
21
|
-
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.
|
|
21
|
+
* deviceId: sampleDevice.then(sampleDevice => sampleDevice.nodeId),
|
|
22
22
|
* tags: ["room:bedroom"],
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
* Device tags can be imported using the
|
|
28
|
+
* Device tags can be imported using the node ID (preferred), e.g.,
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import tailscale:index/deviceTags:DeviceTags sample nodeidCNTRL
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* Device tags can be imported using the legacy ID, e.g.,
|
|
29
35
|
*
|
|
30
36
|
* ```sh
|
|
31
37
|
* $ pulumi import tailscale:index/deviceTags:DeviceTags sample 123456789
|
package/deviceTags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceTags.js","sourceRoot":"","sources":["../deviceTags.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deviceTags.js","sourceRoot":"","sources":["../deviceTags.ts"],"names":[],"mappings":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AC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AApDG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
package/getDevice.d.ts
CHANGED
|
@@ -56,6 +56,10 @@ export interface GetDeviceResult {
|
|
|
56
56
|
* The full name of the device (e.g. `hostname.domain.ts.net`)
|
|
57
57
|
*/
|
|
58
58
|
readonly name?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The preferred indentifier for a device.
|
|
61
|
+
*/
|
|
62
|
+
readonly nodeId: string;
|
|
59
63
|
/**
|
|
60
64
|
* The tags applied to the device
|
|
61
65
|
*/
|
package/getDevice.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDevice.js","sourceRoot":"","sources":["../getDevice.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAA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AM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
|
package/oauthClient.d.ts
CHANGED
|
@@ -10,10 +10,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const sampleClient = new tailscale.OauthClient("sample_client", {
|
|
12
12
|
* description: "sample client",
|
|
13
|
-
* scopes: ["read
|
|
13
|
+
* scopes: ["all:read"],
|
|
14
14
|
* tags: ["tag:test"],
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* Note: Sensitive fields such as the secret key are not returned by the API and will be unset in the Terraform state after import.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import tailscale:index/oauthClient:OauthClient example k1234511CNTRL
|
|
24
|
+
* ```
|
|
17
25
|
*/
|
|
18
26
|
export declare class OauthClient extends pulumi.CustomResource {
|
|
19
27
|
/**
|
|
@@ -109,8 +117,4 @@ export interface OauthClientArgs {
|
|
|
109
117
|
* A list of tags that access tokens generated for the OAuth client will be able to assign to devices. Mandatory if the scopes include "devices:core" or "authKeys".
|
|
110
118
|
*/
|
|
111
119
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
112
|
-
/**
|
|
113
|
-
* ID of the user who created this key, empty for OAuth clients created by other OAuth clients.
|
|
114
|
-
*/
|
|
115
|
-
userId?: pulumi.Input<string>;
|
|
116
120
|
}
|
package/oauthClient.js
CHANGED
|
@@ -16,10 +16,18 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const sampleClient = new tailscale.OauthClient("sample_client", {
|
|
18
18
|
* description: "sample client",
|
|
19
|
-
* scopes: ["read
|
|
19
|
+
* scopes: ["all:read"],
|
|
20
20
|
* tags: ["tag:test"],
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* Note: Sensitive fields such as the secret key are not returned by the API and will be unset in the Terraform state after import.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import tailscale:index/oauthClient:OauthClient example k1234511CNTRL
|
|
30
|
+
* ```
|
|
23
31
|
*/
|
|
24
32
|
class OauthClient extends pulumi.CustomResource {
|
|
25
33
|
/**
|
|
@@ -64,9 +72,9 @@ class OauthClient extends pulumi.CustomResource {
|
|
|
64
72
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
65
73
|
resourceInputs["scopes"] = args ? args.scopes : undefined;
|
|
66
74
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
67
|
-
resourceInputs["userId"] = args ? args.userId : undefined;
|
|
68
75
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
69
76
|
resourceInputs["key"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["userId"] = undefined /*out*/;
|
|
70
78
|
}
|
|
71
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
80
|
const secretOpts = { additionalSecretOutputs: ["key"] };
|
package/oauthClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthClient.js","sourceRoot":"","sources":["../oauthClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"oauthClient.js","sourceRoot":"","sources":["../oauthClient.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAA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.1750304068",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Tailscale cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "tailscale",
|
|
26
|
-
"version": "1.0.0-alpha.
|
|
26
|
+
"version": "1.0.0-alpha.1750304068"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/tailnetKey.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare class TailnetKey extends pulumi.CustomResource {
|
|
|
64
64
|
/**
|
|
65
65
|
* The expiry of the key in seconds. Defaults to `7776000` (90 days).
|
|
66
66
|
*/
|
|
67
|
-
readonly expiry: pulumi.Output<number
|
|
67
|
+
readonly expiry: pulumi.Output<number>;
|
|
68
68
|
/**
|
|
69
69
|
* Indicates whether the key is invalid (e.g. expired, revoked or has been deleted).
|
|
70
70
|
*/
|
package/tailnetSettings.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as tailscale from "@pulumi/tailscale";
|
|
10
10
|
*
|
|
11
11
|
* const sampleTailnetSettings = new tailscale.TailnetSettings("sample_tailnet_settings", {
|
|
12
|
+
* aclsExternallyManagedOn: true,
|
|
13
|
+
* aclsExternalLink: "https://github.com/octocat/Hello-World",
|
|
12
14
|
* devicesApprovalOn: true,
|
|
13
15
|
* devicesAutoUpdatesOn: true,
|
|
14
16
|
* devicesKeyDurationDays: 5,
|
|
@@ -42,38 +44,43 @@ export declare class TailnetSettings extends pulumi.CustomResource {
|
|
|
42
44
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
45
|
*/
|
|
44
46
|
static isInstance(obj: any): obj is TailnetSettings;
|
|
47
|
+
/**
|
|
48
|
+
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
49
|
+
*/
|
|
50
|
+
readonly aclsExternalLink: pulumi.Output<string>;
|
|
51
|
+
readonly aclsExternallyManagedOn: pulumi.Output<boolean>;
|
|
45
52
|
/**
|
|
46
53
|
* Whether device approval is enabled for the tailnet
|
|
47
54
|
*/
|
|
48
|
-
readonly devicesApprovalOn: pulumi.Output<boolean
|
|
55
|
+
readonly devicesApprovalOn: pulumi.Output<boolean>;
|
|
49
56
|
/**
|
|
50
57
|
* Whether auto updates are enabled for devices that belong to this tailnet
|
|
51
58
|
*/
|
|
52
|
-
readonly devicesAutoUpdatesOn: pulumi.Output<boolean
|
|
59
|
+
readonly devicesAutoUpdatesOn: pulumi.Output<boolean>;
|
|
53
60
|
/**
|
|
54
61
|
* The key expiry duration for devices on this tailnet
|
|
55
62
|
*/
|
|
56
|
-
readonly devicesKeyDurationDays: pulumi.Output<number
|
|
63
|
+
readonly devicesKeyDurationDays: pulumi.Output<number>;
|
|
57
64
|
/**
|
|
58
65
|
* Whether network flog logs are enabled for the tailnet
|
|
59
66
|
*/
|
|
60
|
-
readonly networkFlowLoggingOn: pulumi.Output<boolean
|
|
67
|
+
readonly networkFlowLoggingOn: pulumi.Output<boolean>;
|
|
61
68
|
/**
|
|
62
69
|
* Whether identity collection is enabled for device posture integrations for the tailnet
|
|
63
70
|
*/
|
|
64
|
-
readonly postureIdentityCollectionOn: pulumi.Output<boolean
|
|
71
|
+
readonly postureIdentityCollectionOn: pulumi.Output<boolean>;
|
|
65
72
|
/**
|
|
66
73
|
* Whether regional routing is enabled for the tailnet
|
|
67
74
|
*/
|
|
68
|
-
readonly regionalRoutingOn: pulumi.Output<boolean
|
|
75
|
+
readonly regionalRoutingOn: pulumi.Output<boolean>;
|
|
69
76
|
/**
|
|
70
77
|
* Whether user approval is enabled for this tailnet
|
|
71
78
|
*/
|
|
72
|
-
readonly usersApprovalOn: pulumi.Output<boolean
|
|
79
|
+
readonly usersApprovalOn: pulumi.Output<boolean>;
|
|
73
80
|
/**
|
|
74
81
|
* Which user roles are allowed to join external tailnets
|
|
75
82
|
*/
|
|
76
|
-
readonly usersRoleAllowedToJoinExternalTailnet: pulumi.Output<string
|
|
83
|
+
readonly usersRoleAllowedToJoinExternalTailnet: pulumi.Output<string>;
|
|
77
84
|
/**
|
|
78
85
|
* Create a TailnetSettings resource with the given unique name, arguments, and options.
|
|
79
86
|
*
|
|
@@ -87,6 +94,11 @@ export declare class TailnetSettings extends pulumi.CustomResource {
|
|
|
87
94
|
* Input properties used for looking up and filtering TailnetSettings resources.
|
|
88
95
|
*/
|
|
89
96
|
export interface TailnetSettingsState {
|
|
97
|
+
/**
|
|
98
|
+
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
99
|
+
*/
|
|
100
|
+
aclsExternalLink?: pulumi.Input<string>;
|
|
101
|
+
aclsExternallyManagedOn?: pulumi.Input<boolean>;
|
|
90
102
|
/**
|
|
91
103
|
* Whether device approval is enabled for the tailnet
|
|
92
104
|
*/
|
|
@@ -124,6 +136,11 @@ export interface TailnetSettingsState {
|
|
|
124
136
|
* The set of arguments for constructing a TailnetSettings resource.
|
|
125
137
|
*/
|
|
126
138
|
export interface TailnetSettingsArgs {
|
|
139
|
+
/**
|
|
140
|
+
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
141
|
+
*/
|
|
142
|
+
aclsExternalLink?: pulumi.Input<string>;
|
|
143
|
+
aclsExternallyManagedOn?: pulumi.Input<boolean>;
|
|
127
144
|
/**
|
|
128
145
|
* Whether device approval is enabled for the tailnet
|
|
129
146
|
*/
|
package/tailnetSettings.js
CHANGED
|
@@ -15,6 +15,8 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as tailscale from "@pulumi/tailscale";
|
|
16
16
|
*
|
|
17
17
|
* const sampleTailnetSettings = new tailscale.TailnetSettings("sample_tailnet_settings", {
|
|
18
|
+
* aclsExternallyManagedOn: true,
|
|
19
|
+
* aclsExternalLink: "https://github.com/octocat/Hello-World",
|
|
18
20
|
* devicesApprovalOn: true,
|
|
19
21
|
* devicesAutoUpdatesOn: true,
|
|
20
22
|
* devicesKeyDurationDays: 5,
|
|
@@ -60,6 +62,8 @@ class TailnetSettings extends pulumi.CustomResource {
|
|
|
60
62
|
opts = opts || {};
|
|
61
63
|
if (opts.id) {
|
|
62
64
|
const state = argsOrState;
|
|
65
|
+
resourceInputs["aclsExternalLink"] = state ? state.aclsExternalLink : undefined;
|
|
66
|
+
resourceInputs["aclsExternallyManagedOn"] = state ? state.aclsExternallyManagedOn : undefined;
|
|
63
67
|
resourceInputs["devicesApprovalOn"] = state ? state.devicesApprovalOn : undefined;
|
|
64
68
|
resourceInputs["devicesAutoUpdatesOn"] = state ? state.devicesAutoUpdatesOn : undefined;
|
|
65
69
|
resourceInputs["devicesKeyDurationDays"] = state ? state.devicesKeyDurationDays : undefined;
|
|
@@ -71,6 +75,8 @@ class TailnetSettings extends pulumi.CustomResource {
|
|
|
71
75
|
}
|
|
72
76
|
else {
|
|
73
77
|
const args = argsOrState;
|
|
78
|
+
resourceInputs["aclsExternalLink"] = args ? args.aclsExternalLink : undefined;
|
|
79
|
+
resourceInputs["aclsExternallyManagedOn"] = args ? args.aclsExternallyManagedOn : undefined;
|
|
74
80
|
resourceInputs["devicesApprovalOn"] = args ? args.devicesApprovalOn : undefined;
|
|
75
81
|
resourceInputs["devicesAutoUpdatesOn"] = args ? args.devicesAutoUpdatesOn : undefined;
|
|
76
82
|
resourceInputs["devicesKeyDurationDays"] = args ? args.devicesKeyDurationDays : undefined;
|
package/tailnetSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetSettings.js","sourceRoot":"","sources":["../tailnetSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tailnetSettings.js","sourceRoot":"","sources":["../tailnetSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;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,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACpG,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,uCAAuC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAxGL,0CAyGC;AA3FG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/types/output.d.ts
CHANGED
|
@@ -26,13 +26,17 @@ export interface GetDevicesDevice {
|
|
|
26
26
|
*/
|
|
27
27
|
hostname: string;
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
29
|
+
* The legacy identifier of the device. Use nodeId instead for new resources.
|
|
30
30
|
*/
|
|
31
31
|
id: string;
|
|
32
32
|
/**
|
|
33
33
|
* The full name of the device (e.g. `hostname.domain.ts.net`)
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* The preferred indentifier for a device.
|
|
38
|
+
*/
|
|
39
|
+
nodeId: string;
|
|
36
40
|
/**
|
|
37
41
|
* The tags applied to the device
|
|
38
42
|
*/
|