@pulumi/tailscale 0.8.1 → 0.9.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/deviceKey.d.ts +0 -13
- package/deviceKey.js +0 -3
- package/deviceKey.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/tailnetKey.d.ts +13 -0
- package/tailnetKey.js +3 -0
- package/tailnetKey.js.map +1 -1
package/deviceKey.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* });
|
|
14
14
|
* const exampleKey = new tailscale.DeviceKey("exampleKey", {
|
|
15
15
|
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.id),
|
|
16
|
-
* preauthorized: true,
|
|
17
16
|
* keyExpiryDisabled: true,
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
@@ -42,10 +41,6 @@ export declare class DeviceKey extends pulumi.CustomResource {
|
|
|
42
41
|
* Determines whether or not the device's key will expire
|
|
43
42
|
*/
|
|
44
43
|
readonly keyExpiryDisabled: pulumi.Output<boolean | undefined>;
|
|
45
|
-
/**
|
|
46
|
-
* Determines whether or not the device will be authorized for the tailnet by default.
|
|
47
|
-
*/
|
|
48
|
-
readonly preauthorized: pulumi.Output<boolean | undefined>;
|
|
49
44
|
/**
|
|
50
45
|
* Create a DeviceKey resource with the given unique name, arguments, and options.
|
|
51
46
|
*
|
|
@@ -67,10 +62,6 @@ export interface DeviceKeyState {
|
|
|
67
62
|
* Determines whether or not the device's key will expire
|
|
68
63
|
*/
|
|
69
64
|
keyExpiryDisabled?: pulumi.Input<boolean>;
|
|
70
|
-
/**
|
|
71
|
-
* Determines whether or not the device will be authorized for the tailnet by default.
|
|
72
|
-
*/
|
|
73
|
-
preauthorized?: pulumi.Input<boolean>;
|
|
74
65
|
}
|
|
75
66
|
/**
|
|
76
67
|
* The set of arguments for constructing a DeviceKey resource.
|
|
@@ -84,8 +75,4 @@ export interface DeviceKeyArgs {
|
|
|
84
75
|
* Determines whether or not the device's key will expire
|
|
85
76
|
*/
|
|
86
77
|
keyExpiryDisabled?: pulumi.Input<boolean>;
|
|
87
|
-
/**
|
|
88
|
-
* Determines whether or not the device will be authorized for the tailnet by default.
|
|
89
|
-
*/
|
|
90
|
-
preauthorized?: pulumi.Input<boolean>;
|
|
91
78
|
}
|
package/deviceKey.js
CHANGED
|
@@ -19,7 +19,6 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* });
|
|
20
20
|
* const exampleKey = new tailscale.DeviceKey("exampleKey", {
|
|
21
21
|
* deviceId: exampleDevice.then(exampleDevice => exampleDevice.id),
|
|
22
|
-
* preauthorized: true,
|
|
23
22
|
* keyExpiryDisabled: true,
|
|
24
23
|
* });
|
|
25
24
|
* ```
|
|
@@ -32,7 +31,6 @@ class DeviceKey extends pulumi.CustomResource {
|
|
|
32
31
|
const state = argsOrState;
|
|
33
32
|
resourceInputs["deviceId"] = state ? state.deviceId : undefined;
|
|
34
33
|
resourceInputs["keyExpiryDisabled"] = state ? state.keyExpiryDisabled : undefined;
|
|
35
|
-
resourceInputs["preauthorized"] = state ? state.preauthorized : undefined;
|
|
36
34
|
}
|
|
37
35
|
else {
|
|
38
36
|
const args = argsOrState;
|
|
@@ -41,7 +39,6 @@ class DeviceKey extends pulumi.CustomResource {
|
|
|
41
39
|
}
|
|
42
40
|
resourceInputs["deviceId"] = args ? args.deviceId : undefined;
|
|
43
41
|
resourceInputs["keyExpiryDisabled"] = args ? args.keyExpiryDisabled : undefined;
|
|
44
|
-
resourceInputs["preauthorized"] = args ? args.preauthorized : undefined;
|
|
45
42
|
}
|
|
46
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
44
|
super(DeviceKey.__pulumiType, name, resourceInputs, opts);
|
package/deviceKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceKey.js","sourceRoot":"","sources":["../deviceKey.ts"],"names":[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AI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IA7DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA+DC;AAjDG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tailscale",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.9.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing xyz cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.9.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tailscale",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.9.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing xyz cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.9.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/tailnetKey.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* const sampleKey = new tailscale.TailnetKey("sample_key", {
|
|
12
12
|
* ephemeral: false,
|
|
13
|
+
* preauthorized: true,
|
|
13
14
|
* reusable: true,
|
|
14
15
|
* });
|
|
15
16
|
* ```
|
|
@@ -38,6 +39,10 @@ export declare class TailnetKey extends pulumi.CustomResource {
|
|
|
38
39
|
* The authentication key
|
|
39
40
|
*/
|
|
40
41
|
readonly key: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Determines whether or not the machines authenticated by the key will be authorized for the tailnet by default.
|
|
44
|
+
*/
|
|
45
|
+
readonly preauthorized: pulumi.Output<boolean | undefined>;
|
|
41
46
|
/**
|
|
42
47
|
* Indicates if the key is reusable or single-use.
|
|
43
48
|
*/
|
|
@@ -67,6 +72,10 @@ export interface TailnetKeyState {
|
|
|
67
72
|
* The authentication key
|
|
68
73
|
*/
|
|
69
74
|
key?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Determines whether or not the machines authenticated by the key will be authorized for the tailnet by default.
|
|
77
|
+
*/
|
|
78
|
+
preauthorized?: pulumi.Input<boolean>;
|
|
70
79
|
/**
|
|
71
80
|
* Indicates if the key is reusable or single-use.
|
|
72
81
|
*/
|
|
@@ -84,6 +93,10 @@ export interface TailnetKeyArgs {
|
|
|
84
93
|
* Indicates if the key is ephemeral.
|
|
85
94
|
*/
|
|
86
95
|
ephemeral?: pulumi.Input<boolean>;
|
|
96
|
+
/**
|
|
97
|
+
* Determines whether or not the machines authenticated by the key will be authorized for the tailnet by default.
|
|
98
|
+
*/
|
|
99
|
+
preauthorized?: pulumi.Input<boolean>;
|
|
87
100
|
/**
|
|
88
101
|
* Indicates if the key is reusable or single-use.
|
|
89
102
|
*/
|
package/tailnetKey.js
CHANGED
|
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* const sampleKey = new tailscale.TailnetKey("sample_key", {
|
|
18
18
|
* ephemeral: false,
|
|
19
|
+
* preauthorized: true,
|
|
19
20
|
* reusable: true,
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
@@ -28,12 +29,14 @@ class TailnetKey extends pulumi.CustomResource {
|
|
|
28
29
|
const state = argsOrState;
|
|
29
30
|
resourceInputs["ephemeral"] = state ? state.ephemeral : undefined;
|
|
30
31
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
32
|
+
resourceInputs["preauthorized"] = state ? state.preauthorized : undefined;
|
|
31
33
|
resourceInputs["reusable"] = state ? state.reusable : undefined;
|
|
32
34
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
33
35
|
}
|
|
34
36
|
else {
|
|
35
37
|
const args = argsOrState;
|
|
36
38
|
resourceInputs["ephemeral"] = args ? args.ephemeral : undefined;
|
|
39
|
+
resourceInputs["preauthorized"] = args ? args.preauthorized : undefined;
|
|
37
40
|
resourceInputs["reusable"] = args ? args.reusable : undefined;
|
|
38
41
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
39
42
|
resourceInputs["key"] = undefined /*out*/;
|
package/tailnetKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailnetKey.js","sourceRoot":"","sources":["../tailnetKey.ts"],"names":[],"mappings":";AAAA,w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