@pulumi/tailscale 0.10.0 → 0.10.2-alpha.1658753986
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/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +5 -5
- package/provider.js +0 -6
- package/provider.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tailscale",
|
|
3
|
-
"version": "v0.10.
|
|
3
|
+
"version": "v0.10.2-alpha.1658753986+2fd4af6d",
|
|
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.10.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.10.2-alpha.1658753986+2fd4af6d"
|
|
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.10.
|
|
3
|
+
"version": "v0.10.2-alpha.1658753986+2fd4af6d",
|
|
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.10.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource tailscale v0.10.2-alpha.1658753986+2fd4af6d"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/provider.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
14
14
|
/**
|
|
15
15
|
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable.
|
|
16
16
|
*/
|
|
17
|
-
readonly apiKey: pulumi.Output<string>;
|
|
17
|
+
readonly apiKey: pulumi.Output<string | undefined>;
|
|
18
18
|
/**
|
|
19
19
|
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL
|
|
20
20
|
* environment variable.
|
|
@@ -23,7 +23,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
23
23
|
/**
|
|
24
24
|
* The Tailnet to perform actions in. Can be set via the TAILSCALE_TAILNET environment variable.
|
|
25
25
|
*/
|
|
26
|
-
readonly tailnet: pulumi.Output<string>;
|
|
26
|
+
readonly tailnet: pulumi.Output<string | undefined>;
|
|
27
27
|
/**
|
|
28
28
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
29
29
|
*
|
|
@@ -31,7 +31,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
31
31
|
* @param args The arguments to use to populate this resource's properties.
|
|
32
32
|
* @param opts A bag of options that control this resource's behavior.
|
|
33
33
|
*/
|
|
34
|
-
constructor(name: string, args
|
|
34
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* The set of arguments for constructing a Provider resource.
|
|
@@ -40,7 +40,7 @@ export interface ProviderArgs {
|
|
|
40
40
|
/**
|
|
41
41
|
* The API key to use for authenticating requests to the API. Can be set via the TAILSCALE_API_KEY environment variable.
|
|
42
42
|
*/
|
|
43
|
-
apiKey
|
|
43
|
+
apiKey?: pulumi.Input<string>;
|
|
44
44
|
/**
|
|
45
45
|
* The base URL of the Tailscale API. Defaults to https://api.tailscale.com. Can be set via the TAILSCALE_BASE_URL
|
|
46
46
|
* environment variable.
|
|
@@ -49,5 +49,5 @@ export interface ProviderArgs {
|
|
|
49
49
|
/**
|
|
50
50
|
* The Tailnet to perform actions in. Can be set via the TAILSCALE_TAILNET environment variable.
|
|
51
51
|
*/
|
|
52
|
-
tailnet
|
|
52
|
+
tailnet?: pulumi.Input<string>;
|
|
53
53
|
}
|
package/provider.js
CHANGED
|
@@ -23,12 +23,6 @@ class Provider extends pulumi.ProviderResource {
|
|
|
23
23
|
let resourceInputs = {};
|
|
24
24
|
opts = opts || {};
|
|
25
25
|
{
|
|
26
|
-
if ((!args || args.apiKey === undefined) && !opts.urn) {
|
|
27
|
-
throw new Error("Missing required property 'apiKey'");
|
|
28
|
-
}
|
|
29
|
-
if ((!args || args.tailnet === undefined) && !opts.urn) {
|
|
30
|
-
throw new Error("Missing required property 'tailnet'");
|
|
31
|
-
}
|
|
32
26
|
resourceInputs["apiKey"] = args ? args.apiKey : undefined;
|
|
33
27
|
resourceInputs["baseUrl"] = args ? args.baseUrl : undefined;
|
|
34
28
|
resourceInputs["tailnet"] = args ? args.tailnet : undefined;
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IA6BjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IA6BjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA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