@pulumi/tailscale 0.25.0 → 0.27.0
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/config/vars.d.ts +3 -3
- package/contacts.d.ts +4 -0
- package/contacts.js +4 -0
- package/contacts.js.map +1 -1
- package/deviceSubnetRoutes.d.ts +6 -0
- package/deviceSubnetRoutes.js +6 -0
- package/deviceSubnetRoutes.js.map +1 -1
- package/dnsConfiguration.d.ts +4 -0
- package/dnsConfiguration.js +4 -0
- package/dnsConfiguration.js.map +1 -1
- package/getDevices.d.ts +39 -0
- package/getDevices.js +28 -0
- package/getDevices.js.map +1 -1
- package/package.json +2 -2
- package/postureIntegration.d.ts +3 -3
- package/provider.d.ts +5 -5
- package/tailnetKey.d.ts +1 -2
- package/tailnetKey.js +1 -2
- package/tailnetKey.js.map +1 -1
- package/tailnetSettings.d.ts +9 -0
- package/tailnetSettings.js.map +1 -1
- package/types/input.d.ts +20 -0
- package/types/output.d.ts +10 -0
package/config/vars.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export declare const apiKey: string | undefined;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const baseUrl: string | undefined;
|
|
9
9
|
/**
|
|
10
|
-
* The jwt identity token to exchange for a Tailscale API token when using a federated identity
|
|
10
|
+
* The jwt identity token to exchange for a Tailscale API token when using a federated identity. Can be set via the TAILSCALE_IDENTITY_TOKEN environment variable. Conflicts with 'api_key' and 'oauth_client_secret'.
|
|
11
11
|
*/
|
|
12
12
|
export declare const identityToken: string | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* 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'.
|
|
14
|
+
* The OAuth application or federated identity's ID when using OAuth client credentials or workload identity federation. 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'.
|
|
15
15
|
*/
|
|
16
16
|
export declare const oauthClientId: string | undefined;
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ export declare const oauthClientId: string | undefined;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const oauthClientSecret: string | undefined;
|
|
21
21
|
/**
|
|
22
|
-
* The OAuth 2.0 scopes to request when generating the access token using the supplied OAuth client credentials. See https://tailscale.com/kb/
|
|
22
|
+
* The OAuth 2.0 scopes to request when generating the access token using the supplied OAuth client credentials. See https://tailscale.com/kb/1623/trust-credentials#scopes for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret', or both are set.
|
|
23
23
|
*/
|
|
24
24
|
export declare const scopes: string[] | undefined;
|
|
25
25
|
/**
|
package/contacts.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* The contacts resource allows you to configure contact details for your Tailscale network. See https://tailscale.com/kb/1224/contact-preferences for more information.
|
|
6
|
+
*
|
|
7
|
+
* Destroying this resource does not unset or modify values in the tailscale control plane, and simply removes the resource from Terraform state.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* ```typescript
|
package/contacts.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.Contacts = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* The contacts resource allows you to configure contact details for your Tailscale network. See https://tailscale.com/kb/1224/contact-preferences for more information.
|
|
10
|
+
*
|
|
11
|
+
* Destroying this resource does not unset or modify values in the tailscale control plane, and simply removes the resource from Terraform state.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
package/contacts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../contacts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../contacts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA1EL,4BA2EC;AA7DG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
package/deviceSubnetRoutes.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* The deviceSubnetRoutes resource allows you to configure enabled subnet routes for your Tailscale devices. See https://tailscale.com/kb/1019/subnets for more information.
|
|
4
|
+
*
|
|
5
|
+
* Routes must be both advertised and enabled for a device to act as a subnet router or exit node. Routes must be advertised directly from the device: advertised routes cannot be managed through Terraform. If a device is advertising routes, they are not exposed to traffic until they are enabled. Conversely, if routes are enabled before they are advertised, they are not available for routing until the device in question is advertising them.
|
|
6
|
+
*
|
|
7
|
+
* Note: all routes enabled for the device through the admin console or autoApprovers in the ACL must be explicitly added to the routes attribute of this resource to avoid configuration drift.
|
|
8
|
+
*
|
|
3
9
|
* ## Example Usage
|
|
4
10
|
*
|
|
5
11
|
* ```typescript
|
package/deviceSubnetRoutes.js
CHANGED
|
@@ -6,6 +6,12 @@ exports.DeviceSubnetRoutes = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* The deviceSubnetRoutes resource allows you to configure enabled subnet routes for your Tailscale devices. See https://tailscale.com/kb/1019/subnets for more information.
|
|
10
|
+
*
|
|
11
|
+
* Routes must be both advertised and enabled for a device to act as a subnet router or exit node. Routes must be advertised directly from the device: advertised routes cannot be managed through Terraform. If a device is advertising routes, they are not exposed to traffic until they are enabled. Conversely, if routes are enabled before they are advertised, they are not available for routing until the device in question is advertising them.
|
|
12
|
+
*
|
|
13
|
+
* Note: all routes enabled for the device through the admin console or autoApprovers in the ACL must be explicitly added to the routes attribute of this resource to avoid configuration drift.
|
|
14
|
+
*
|
|
9
15
|
* ## Example Usage
|
|
10
16
|
*
|
|
11
17
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceSubnetRoutes.js","sourceRoot":"","sources":["../deviceSubnetRoutes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"deviceSubnetRoutes.js","sourceRoot":"","sources":["../deviceSubnetRoutes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,kBA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,MAAM,CAAC;SAC3C;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/dnsConfiguration.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* The dnsConfiguration resource allows you to manage the complete DNS configuration for your Tailscale network. See https://tailscale.com/kb/1054/dns for more information.
|
|
6
|
+
*
|
|
7
|
+
* > **Note:** The Tailscale Terraform provider has multiple resources for managing DNS configuration. This resource is meant to manage the entirety of a Tailnet's DNS configuration and conflicts with tailscale_dns_nameservers, tailscale_dns_preferences, tailscale_dns_search_paths, and tailscale_dns_split_nameservers. This resource and previously mentioned resources should not be used simultaneously.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* ```typescript
|
package/dnsConfiguration.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.DnsConfiguration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* The dnsConfiguration resource allows you to manage the complete DNS configuration for your Tailscale network. See https://tailscale.com/kb/1054/dns for more information.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** The Tailscale Terraform provider has multiple resources for managing DNS configuration. This resource is meant to manage the entirety of a Tailnet's DNS configuration and conflicts with tailscale_dns_nameservers, tailscale_dns_preferences, tailscale_dns_search_paths, and tailscale_dns_split_nameservers. This resource and previously mentioned resources should not be used simultaneously.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ```typescript
|
package/dnsConfiguration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnsConfiguration.js","sourceRoot":"","sources":["../dnsConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dnsConfiguration.js","sourceRoot":"","sources":["../dnsConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7EL,4CA8EC;AAhEG,gBAAgB;AACO,6BAAY,GAAG,mDAAmD,CAAC"}
|
package/getDevices.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
2
3
|
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* The devices data source describes a list of devices in a tailnet
|
|
@@ -11,6 +12,19 @@ import * as outputs from "./types/output";
|
|
|
11
12
|
*
|
|
12
13
|
* const sampleDevices = tailscale.getDevices({
|
|
13
14
|
* namePrefix: "example-",
|
|
15
|
+
* filters: [
|
|
16
|
+
* {
|
|
17
|
+
* name: "isEphemeral",
|
|
18
|
+
* values: ["true"],
|
|
19
|
+
* },
|
|
20
|
+
* {
|
|
21
|
+
* name: "tags",
|
|
22
|
+
* values: [
|
|
23
|
+
* "tag:server",
|
|
24
|
+
* "tag:test",
|
|
25
|
+
* ],
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
14
28
|
* });
|
|
15
29
|
* ```
|
|
16
30
|
*/
|
|
@@ -19,6 +33,10 @@ export declare function getDevices(args?: GetDevicesArgs, opts?: pulumi.InvokeOp
|
|
|
19
33
|
* A collection of arguments for invoking getDevices.
|
|
20
34
|
*/
|
|
21
35
|
export interface GetDevicesArgs {
|
|
36
|
+
/**
|
|
37
|
+
* Filters the device list to elements devices whose fields match the provided values.
|
|
38
|
+
*/
|
|
39
|
+
filters?: inputs.GetDevicesFilter[];
|
|
22
40
|
/**
|
|
23
41
|
* Filters the device list to elements whose name has the provided prefix
|
|
24
42
|
*/
|
|
@@ -32,6 +50,10 @@ export interface GetDevicesResult {
|
|
|
32
50
|
* The list of devices in the tailnet
|
|
33
51
|
*/
|
|
34
52
|
readonly devices: outputs.GetDevicesDevice[];
|
|
53
|
+
/**
|
|
54
|
+
* Filters the device list to elements devices whose fields match the provided values.
|
|
55
|
+
*/
|
|
56
|
+
readonly filters?: outputs.GetDevicesFilter[];
|
|
35
57
|
/**
|
|
36
58
|
* The provider-assigned unique ID for this managed resource.
|
|
37
59
|
*/
|
|
@@ -52,6 +74,19 @@ export interface GetDevicesResult {
|
|
|
52
74
|
*
|
|
53
75
|
* const sampleDevices = tailscale.getDevices({
|
|
54
76
|
* namePrefix: "example-",
|
|
77
|
+
* filters: [
|
|
78
|
+
* {
|
|
79
|
+
* name: "isEphemeral",
|
|
80
|
+
* values: ["true"],
|
|
81
|
+
* },
|
|
82
|
+
* {
|
|
83
|
+
* name: "tags",
|
|
84
|
+
* values: [
|
|
85
|
+
* "tag:server",
|
|
86
|
+
* "tag:test",
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
55
90
|
* });
|
|
56
91
|
* ```
|
|
57
92
|
*/
|
|
@@ -60,6 +95,10 @@ export declare function getDevicesOutput(args?: GetDevicesOutputArgs, opts?: pul
|
|
|
60
95
|
* A collection of arguments for invoking getDevices.
|
|
61
96
|
*/
|
|
62
97
|
export interface GetDevicesOutputArgs {
|
|
98
|
+
/**
|
|
99
|
+
* Filters the device list to elements devices whose fields match the provided values.
|
|
100
|
+
*/
|
|
101
|
+
filters?: pulumi.Input<pulumi.Input<inputs.GetDevicesFilterArgs>[]>;
|
|
63
102
|
/**
|
|
64
103
|
* Filters the device list to elements whose name has the provided prefix
|
|
65
104
|
*/
|
package/getDevices.js
CHANGED
|
@@ -16,6 +16,19 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const sampleDevices = tailscale.getDevices({
|
|
18
18
|
* namePrefix: "example-",
|
|
19
|
+
* filters: [
|
|
20
|
+
* {
|
|
21
|
+
* name: "isEphemeral",
|
|
22
|
+
* values: ["true"],
|
|
23
|
+
* },
|
|
24
|
+
* {
|
|
25
|
+
* name: "tags",
|
|
26
|
+
* values: [
|
|
27
|
+
* "tag:server",
|
|
28
|
+
* "tag:test",
|
|
29
|
+
* ],
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
19
32
|
* });
|
|
20
33
|
* ```
|
|
21
34
|
*/
|
|
@@ -23,6 +36,7 @@ function getDevices(args, opts) {
|
|
|
23
36
|
args = args || {};
|
|
24
37
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
38
|
return pulumi.runtime.invoke("tailscale:index/getDevices:getDevices", {
|
|
39
|
+
"filters": args.filters,
|
|
26
40
|
"namePrefix": args.namePrefix,
|
|
27
41
|
}, opts);
|
|
28
42
|
}
|
|
@@ -38,6 +52,19 @@ exports.getDevices = getDevices;
|
|
|
38
52
|
*
|
|
39
53
|
* const sampleDevices = tailscale.getDevices({
|
|
40
54
|
* namePrefix: "example-",
|
|
55
|
+
* filters: [
|
|
56
|
+
* {
|
|
57
|
+
* name: "isEphemeral",
|
|
58
|
+
* values: ["true"],
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* name: "tags",
|
|
62
|
+
* values: [
|
|
63
|
+
* "tag:server",
|
|
64
|
+
* "tag:test",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
41
68
|
* });
|
|
42
69
|
* ```
|
|
43
70
|
*/
|
|
@@ -45,6 +72,7 @@ function getDevicesOutput(args, opts) {
|
|
|
45
72
|
args = args || {};
|
|
46
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
74
|
return pulumi.runtime.invokeOutput("tailscale:index/getDevices:getDevices", {
|
|
75
|
+
"filters": args.filters,
|
|
48
76
|
"namePrefix": args.namePrefix,
|
|
49
77
|
}, opts);
|
|
50
78
|
}
|
package/getDevices.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDevices.js","sourceRoot":"","sources":["../getDevices.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDevices.js","sourceRoot":"","sources":["../getDevices.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,gCAOC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uCAAuC,EAAE;QACxE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tailscale",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
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": "0.
|
|
26
|
+
"version": "0.27.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/postureIntegration.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class PostureIntegration extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly cloudId: pulumi.Output<string | undefined>;
|
|
57
57
|
/**
|
|
58
|
-
* The third-party provider for posture data. Valid values are `falcon`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
58
|
+
* The third-party provider for posture data. Valid values are `falcon`, `fleet`, `huntress`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
59
59
|
*/
|
|
60
60
|
readonly postureProvider: pulumi.Output<string>;
|
|
61
61
|
/**
|
|
@@ -88,7 +88,7 @@ export interface PostureIntegrationState {
|
|
|
88
88
|
*/
|
|
89
89
|
cloudId?: pulumi.Input<string>;
|
|
90
90
|
/**
|
|
91
|
-
* The third-party provider for posture data. Valid values are `falcon`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
91
|
+
* The third-party provider for posture data. Valid values are `falcon`, `fleet`, `huntress`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
92
92
|
*/
|
|
93
93
|
postureProvider?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
@@ -113,7 +113,7 @@ export interface PostureIntegrationArgs {
|
|
|
113
113
|
*/
|
|
114
114
|
cloudId?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
116
|
-
* The third-party provider for posture data. Valid values are `falcon`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
116
|
+
* The third-party provider for posture data. Valid values are `falcon`, `fleet`, `huntress`, `intune`, `jamfpro`, `kandji`, `kolide`, and `sentinelone`.
|
|
117
117
|
*/
|
|
118
118
|
postureProvider: pulumi.Input<string>;
|
|
119
119
|
/**
|
package/provider.d.ts
CHANGED
|
@@ -20,11 +20,11 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
20
20
|
*/
|
|
21
21
|
readonly baseUrl: pulumi.Output<string | undefined>;
|
|
22
22
|
/**
|
|
23
|
-
* The jwt identity token to exchange for a Tailscale API token when using a federated identity
|
|
23
|
+
* The jwt identity token to exchange for a Tailscale API token when using a federated identity. Can be set via the TAILSCALE_IDENTITY_TOKEN environment variable. Conflicts with 'api_key' and 'oauth_client_secret'.
|
|
24
24
|
*/
|
|
25
25
|
readonly identityToken: pulumi.Output<string | undefined>;
|
|
26
26
|
/**
|
|
27
|
-
* 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'.
|
|
27
|
+
* The OAuth application or federated identity's ID when using OAuth client credentials or workload identity federation. 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'.
|
|
28
28
|
*/
|
|
29
29
|
readonly oauthClientId: pulumi.Output<string | undefined>;
|
|
30
30
|
/**
|
|
@@ -65,11 +65,11 @@ export interface ProviderArgs {
|
|
|
65
65
|
*/
|
|
66
66
|
baseUrl?: pulumi.Input<string>;
|
|
67
67
|
/**
|
|
68
|
-
* The jwt identity token to exchange for a Tailscale API token when using a federated identity
|
|
68
|
+
* The jwt identity token to exchange for a Tailscale API token when using a federated identity. Can be set via the TAILSCALE_IDENTITY_TOKEN environment variable. Conflicts with 'api_key' and 'oauth_client_secret'.
|
|
69
69
|
*/
|
|
70
70
|
identityToken?: pulumi.Input<string>;
|
|
71
71
|
/**
|
|
72
|
-
* 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'.
|
|
72
|
+
* The OAuth application or federated identity's ID when using OAuth client credentials or workload identity federation. 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'.
|
|
73
73
|
*/
|
|
74
74
|
oauthClientId?: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
@@ -77,7 +77,7 @@ export interface ProviderArgs {
|
|
|
77
77
|
*/
|
|
78
78
|
oauthClientSecret?: pulumi.Input<string>;
|
|
79
79
|
/**
|
|
80
|
-
* The OAuth 2.0 scopes to request when generating the access token using the supplied OAuth client credentials. See https://tailscale.com/kb/
|
|
80
|
+
* The OAuth 2.0 scopes to request when generating the access token using the supplied OAuth client credentials. See https://tailscale.com/kb/1623/trust-credentials#scopes for available scopes. Only valid when both 'oauth_client_id' and 'oauth_client_secret', or both are set.
|
|
81
81
|
*/
|
|
82
82
|
scopes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
83
|
/**
|
package/tailnetKey.d.ts
CHANGED
|
@@ -25,8 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* $ pulumi import tailscale:index/tailnetKey:TailnetKey sample_key 123456789
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* > ** Note ** the `key` attribute will not be populated on import as this attribute is only populated
|
|
30
29
|
* on resource creation.
|
|
31
30
|
*/
|
|
32
31
|
export declare class TailnetKey extends pulumi.CustomResource {
|
package/tailnetKey.js
CHANGED
|
@@ -31,8 +31,7 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* $ pulumi import tailscale:index/tailnetKey:TailnetKey sample_key 123456789
|
|
32
32
|
* ```
|
|
33
33
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* > ** Note ** the `key` attribute will not be populated on import as this attribute is only populated
|
|
36
35
|
* on resource creation.
|
|
37
36
|
*/
|
|
38
37
|
class TailnetKey extends pulumi.CustomResource {
|
package/tailnetKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetKey.js","sourceRoot":"","sources":["../tailnetKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"tailnetKey.js","sourceRoot":"","sources":["../tailnetKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,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AC;;AAzHL,gCA0HC;AA5GG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
package/tailnetSettings.d.ts
CHANGED
|
@@ -51,6 +51,9 @@ export declare class TailnetSettings extends pulumi.CustomResource {
|
|
|
51
51
|
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
52
52
|
*/
|
|
53
53
|
readonly aclsExternalLink: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Prevent users from editing policies in the admin console to avoid conflicts with external management workflows like GitOps or Terraform.
|
|
56
|
+
*/
|
|
54
57
|
readonly aclsExternallyManagedOn: pulumi.Output<boolean>;
|
|
55
58
|
/**
|
|
56
59
|
* Whether device approval is enabled for the tailnet
|
|
@@ -105,6 +108,9 @@ export interface TailnetSettingsState {
|
|
|
105
108
|
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
106
109
|
*/
|
|
107
110
|
aclsExternalLink?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Prevent users from editing policies in the admin console to avoid conflicts with external management workflows like GitOps or Terraform.
|
|
113
|
+
*/
|
|
108
114
|
aclsExternallyManagedOn?: pulumi.Input<boolean>;
|
|
109
115
|
/**
|
|
110
116
|
* Whether device approval is enabled for the tailnet
|
|
@@ -151,6 +157,9 @@ export interface TailnetSettingsArgs {
|
|
|
151
157
|
* Link to your external ACL definition or management system. Must be a valid URL.
|
|
152
158
|
*/
|
|
153
159
|
aclsExternalLink?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Prevent users from editing policies in the admin console to avoid conflicts with external management workflows like GitOps or Terraform.
|
|
162
|
+
*/
|
|
154
163
|
aclsExternallyManagedOn?: pulumi.Input<boolean>;
|
|
155
164
|
/**
|
|
156
165
|
* Whether device approval is enabled for the tailnet
|
package/tailnetSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetSettings.js","sourceRoot":"","sources":["../tailnetSettings.ts"],"names":[],"mappings":";AAA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,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,6BAA6B,CAAC,GAAG,IAAI,EAAE,2BAA2B,CAAC;YAClF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,uCAAuC,CAAC,GAAG,IAAI,EAAE,qCAAqC,CAAC;SACzG;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;;AAjHL,0CAkHC;AApGG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -48,3 +48,23 @@ export interface DnsConfigurationSplitDnNameserver {
|
|
|
48
48
|
*/
|
|
49
49
|
useWithExitNode?: pulumi.Input<boolean>;
|
|
50
50
|
}
|
|
51
|
+
export interface GetDevicesFilter {
|
|
52
|
+
/**
|
|
53
|
+
* The name must be a top-level device property, e.g. isEphemeral, tags, hostname, etc.
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* The list of values to filter for. Values are matched as exact matches.
|
|
58
|
+
*/
|
|
59
|
+
values: string[];
|
|
60
|
+
}
|
|
61
|
+
export interface GetDevicesFilterArgs {
|
|
62
|
+
/**
|
|
63
|
+
* The name must be a top-level device property, e.g. isEphemeral, tags, hostname, etc.
|
|
64
|
+
*/
|
|
65
|
+
name: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The list of values to filter for. Values are matched as exact matches.
|
|
68
|
+
*/
|
|
69
|
+
values: pulumi.Input<pulumi.Input<string>[]>;
|
|
70
|
+
}
|
package/types/output.d.ts
CHANGED
|
@@ -133,6 +133,16 @@ export interface GetDevicesDevice {
|
|
|
133
133
|
*/
|
|
134
134
|
user: string;
|
|
135
135
|
}
|
|
136
|
+
export interface GetDevicesFilter {
|
|
137
|
+
/**
|
|
138
|
+
* The name must be a top-level device property, e.g. isEphemeral, tags, hostname, etc.
|
|
139
|
+
*/
|
|
140
|
+
name: string;
|
|
141
|
+
/**
|
|
142
|
+
* The list of values to filter for. Values are matched as exact matches.
|
|
143
|
+
*/
|
|
144
|
+
values: string[];
|
|
145
|
+
}
|
|
136
146
|
export interface GetUsersUser {
|
|
137
147
|
/**
|
|
138
148
|
* The time the user joined their tailnet.
|